Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008835/0.0008835, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009664/0.0009664, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8863/0.8863, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.277e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00325/0.003272, allocations: 3.179 MB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004522, allocations: 0.7982 MB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.004687, allocations: 11.94 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.004847, allocations: 63.42 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.005033, allocations: 122.9 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.005339, allocations: 119.7 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.005694, allocations: 465.9 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.005885, allocations: 115.1 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.006198, allocations: 267.3 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.00637, allocations: 139.6 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.006414, allocations: 44 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.006488, allocations: 51.98 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.006547, allocations: 91.67 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.006643, allocations: 143.6 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.006954, allocations: 287 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.006963, allocations: 4 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006964, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.00697, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.000594/0.007564, allocations: 0.5581 MB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.007597, allocations: 15.98 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.007738, allocations: 64.88 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.007977, allocations: 209.1 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.007996, allocations: 29.03 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.008034, allocations: 32.38 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.008297, allocations: 318 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.008307, allocations: 192 / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.008327, allocations: 16.38 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.008337, allocations: 11.94 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.008442, allocations: 80.55 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009758/0.009418, allocations: 0.8497 MB / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.009608, allocations: 114.5 kB / 281.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.009653, allocations: 40.83 kB / 281.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.009671, allocations: 4 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.009694, allocations: 38.56 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.009695, allocations: 0 / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005807/0.01028, allocations: 274.3 kB / 281.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.0103, allocations: 55.41 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.01045, allocations: 244.9 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.01046, allocations: 25.7 kB / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.01055, allocations: 216.6 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.01058, allocations: 59.47 kB / 282.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.01064, allocations: 53.64 kB / 282.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.01073, allocations: 342.8 kB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.01076, allocations: 19.98 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.01082, allocations: 101.3 kB / 283 MB, free: 7.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01095, allocations: 154.4 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01096, allocations: 0 / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002637/0.01122, allocations: 217.8 kB / 283.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01124, allocations: 7.125 kB / 283.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01124, allocations: 4 kB / 283.4 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.01152, allocations: 104.7 kB / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.0116, allocations: 35.98 kB / 283.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.01276, allocations: 1.635 MB / 285.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.01286, allocations: 31.78 kB / 285.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01287, allocations: 8 kB / 285.2 MB, free: 4.836 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 8.823e-05/0.01296, allocations: 129.7 kB / 285.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.01298, allocations: 19.97 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.01301, allocations: 26.12 kB / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.01301, allocations: 0 / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01302, allocations: 3.984 kB / 285.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01302, allocations: 8 kB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.01342, allocations: 387.5 kB / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01343, allocations: 0 / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.01346, allocations: 19.94 kB / 285.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.01368, allocations: 100.7 kB / 285.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.01369, allocations: 4 kB / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/0.01466, allocations: 1.62 MB / 287.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01466, allocations: 0 / 287.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.01488, allocations: 248.6 kB / 287.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.01491, allocations: 31.77 kB / 287.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.01492, allocations: 4 kB / 287.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.015, allocations: 23.95 kB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.01504, allocations: 15.97 kB / 287.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01505, allocations: 8 kB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.01512, allocations: 78.78 kB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01512, allocations: 0 / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000294/0.01541, allocations: 95.84 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.01551, allocations: 84.41 kB / 288.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.01581, allocations: 253.4 kB / 288.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.01582, allocations: 4 kB / 288.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.01596, allocations: 210.3 kB / 288.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01615, allocations: 41.25 kB / 288.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.01696, allocations: 0.5087 MB / 289.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.01702, allocations: 96.41 kB / 289.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.01708, allocations: 26.28 kB / 289.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.01718, allocations: 91.34 kB / 289.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01718, allocations: 4 kB / 289.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of Templates: time 0.1005/0.1177, allocations: 3.636 MB / 292.9 MB, free: 25.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,add.R,add.R1,add.R2,add.V0,add.Vns,add.Vps,add.k1,add.k2,add.opAmp.Tau,add.opAmp.V0,add.opAmp.Vns,add.opAmp.Vps,add.opAmp.initOpAmp,add.opAmp.useFirstOrder,add.opAmp.useSupply,add.r.R,add.r.T,add.r.T_ref,add.r.alpha,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.v2,f,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6435280391015112]