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.0009525/0.0009525, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.000911/0.000911, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.992/0.992, allocations: 177 MB / 204.8 MB, free: 5.242 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.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.535e-05, allocations: 5.266 kB / 273 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00461/0.004645, allocations: 3.223 MB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.006203, allocations: 0.7751 MB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.006405, allocations: 7.938 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.006607, allocations: 67.36 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.006862, allocations: 126.9 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.007234, allocations: 119.7 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.007728, allocations: 457.9 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.00806, allocations: 108.5 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.008518, allocations: 259.5 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.0087, allocations: 143.6 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.008745, allocations: 44 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.008829, allocations: 52 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.008878, allocations: 95.55 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.008978, allocations: 139.7 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.009323, allocations: 290.9 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.009327, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009329, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.009336, allocations: 0 / 278.8 MB, free: 11.36 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.0007115/0.01005, allocations: 0.6907 MB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.01008, allocations: 11.98 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.01024, allocations: 76.66 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.01053, allocations: 260 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.01054, allocations: 21.03 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.01058, allocations: 40.38 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.01092, allocations: 330.1 kB / 280.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01093, allocations: 4.172 kB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.01095, allocations: 16.38 kB / 280.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01096, allocations: 15.88 kB / 280.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.01116, allocations: 123.8 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01225, allocations: 1.034 MB / 281.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.0125, allocations: 139.3 kB / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.01256, allocations: 51.67 kB / 281.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.01259, allocations: 7.938 kB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.01261, allocations: 45.38 kB / 281.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.01261, allocations: 0 / 281.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006839/0.0133, allocations: 321 kB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01332, allocations: 55.41 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.01351, allocations: 300.2 kB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.01353, allocations: 33.7 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01364, allocations: 266.9 kB / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.01369, allocations: 63.48 kB / 282.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.01375, allocations: 59.3 kB / 282.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01387, allocations: 0.504 MB / 283.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.01392, allocations: 35.92 kB / 283.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.01402, allocations: 144.5 kB / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.01418, allocations: 179.8 kB / 283.6 MB, free: 6.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01418, allocations: 11.94 kB / 283.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003298/0.01451, allocations: 268.7 kB / 283.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01453, allocations: 7.281 kB / 283.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01453, allocations: 8 kB / 283.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.01485, allocations: 107.5 kB / 284 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.01493, allocations: 39.92 kB / 284 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.01642, allocations: 2.374 MB / 286.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.01651, allocations: 27.88 kB / 286.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.01652, allocations: 16 kB / 286.4 MB, free: 3.242 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 0.000106/0.01663, allocations: 172.5 kB / 286.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.01667, allocations: 31.84 kB / 286.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.0167, allocations: 30.11 kB / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.0167, allocations: 4 kB / 286.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.0167, allocations: 3.938 kB / 286.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.0167, allocations: 0 / 286.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.0172, allocations: 0.5594 MB / 287.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0172, allocations: 4 kB / 287.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.01724, allocations: 8 kB / 287.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/0.01747, allocations: 107.8 kB / 287.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.01748, allocations: 11.94 kB / 287.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1056/0.1231, allocations: 2.347 MB / 289.7 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1231, allocations: 1.922 kB / 289.7 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1235, allocations: 349.8 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1236, allocations: 23.39 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1236, allocations: 2.875 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.1237, allocations: 18.75 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.1237, allocations: 22.36 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1237, allocations: 6.328 kB / 290.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1239, allocations: 209.9 kB / 290.3 MB, free: 23.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1239, allocations: 1.812 kB / 290.3 MB, free: 23.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.1242, allocations: 101.5 kB / 290.4 MB, free: 23.83 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 8.264e-05/0.1243, allocations: 99.75 kB / 290.5 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.1247, allocations: 340.5 kB / 290.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1247, allocations: 0.9375 kB / 290.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1249, allocations: 268.2 kB / 291.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1251, allocations: 36.89 kB / 291.2 MB, free: 23.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008753/0.126, allocations: 0.5121 MB / 291.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.1261, allocations: 92.22 kB / 291.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.1261, allocations: 23.45 kB / 291.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.1262, allocations: 22.59 kB / 291.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1262, allocations: 0 / 291.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of Templates: time 0.006184/0.1323, allocations: 3.453 MB / 295.3 MB, free: 22.75 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.9147000750526786]