Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001404/0.001404, allocations: 85.94 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001643/0.001643, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.495/1.495, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 325.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.691e-05, allocations: 6.281 kB / 325.1 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004569/0.004596, allocations: 2.898 MB / 328 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.006213, allocations: 0.738 MB / 328.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.006403, allocations: 9.625 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.006606, allocations: 56.3 kB / 328.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.006877, allocations: 128.4 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.007225, allocations: 116.2 kB / 329 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.007807, allocations: 476.1 kB / 329.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.008058, allocations: 92.41 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.008546, allocations: 271.1 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.008812, allocations: 149.8 kB / 330 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.008887, allocations: 45.81 kB / 330 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.008969, allocations: 44.28 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.009095, allocations: 91.66 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.0093, allocations: 137.6 kB / 330.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.009995, allocations: 0.5204 MB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.01, allocations: 0 / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01, allocations: 1.438 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01001, allocations: 0 / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001432/0.01144, allocations: 0.6257 MB / 331.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.01149, allocations: 14.27 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01159, allocations: 43.41 kB / 331.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.01215, allocations: 264.8 kB / 331.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.01219, allocations: 20.34 kB / 331.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.01226, allocations: 27.41 kB / 331.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.01312, allocations: 387 kB / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.01314, allocations: 192 / 332.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.01319, allocations: 18.08 kB / 332.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.01322, allocations: 11.84 kB / 332.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.01416, allocations: 282.6 kB / 332.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.01691, allocations: 0.9983 MB / 333.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.0177, allocations: 235.2 kB / 333.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.01809, allocations: 116.1 kB / 333.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.01812, allocations: 2.125 kB / 333.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006006/0.01872, allocations: 283.6 kB / 334.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.01872, allocations: 0 / 334.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001594/0.02032, allocations: 440.7 kB / 334.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.02043, allocations: 135.4 kB / 334.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.02079, allocations: 284.9 kB / 334.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.02082, allocations: 32.23 kB / 335 MB, free: 9.754 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.02101, allocations: 211.6 kB / 335.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.02107, allocations: 64.44 kB / 335.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.02119, allocations: 54.67 kB / 335.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.02139, allocations: 340.7 kB / 335.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.02176, allocations: 132.1 kB / 335.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.02227, allocations: 308.5 kB / 336 MB, free: 8.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.02302, allocations: 307.2 kB / 336.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02302, allocations: 0 / 336.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001162/0.02418, allocations: 459.6 kB / 336.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.02423, allocations: 32.64 kB / 336.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.02424, allocations: 6.922 kB / 336.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.02461, allocations: 64.66 kB / 336.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.02492, allocations: 64.64 kB / 337 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.02703, allocations: 1.466 MB / 338.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.02743, allocations: 61 kB / 338.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.02746, allocations: 9.812 kB / 338.5 MB, free: 6.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.02768, allocations: 168.9 kB / 338.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.02774, allocations: 29.12 kB / 338.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.0278, allocations: 31.89 kB / 338.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.0278, allocations: 1.469 kB / 338.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02781, allocations: 1.5 kB / 338.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02781, allocations: 0 / 338.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.02931, allocations: 0.6343 MB / 339.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02931, allocations: 1.281 kB / 339.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.02957, allocations: 54.83 kB / 339.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.02982, allocations: 50.16 kB / 339.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.02985, allocations: 18.17 kB / 339.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.03175, allocations: 1.461 MB / 340.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.03175, allocations: 4.062 kB / 340.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.03304, allocations: 0.5007 MB / 341.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.03311, allocations: 27.78 kB / 341.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.03317, allocations: 15.98 kB / 341.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.03346, allocations: 31.97 kB / 341.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.03356, allocations: 27.95 kB / 341.5 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.03358, allocations: 4 kB / 341.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.03385, allocations: 197.2 kB / 341.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03385, allocations: 0 / 341.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.03431, allocations: 91.83 kB / 341.8 MB, free: 3.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.03449, allocations: 110.1 kB / 341.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.03552, allocations: 447.5 kB / 342.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.03552, allocations: 0.625 kB / 342.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.03604, allocations: 242.5 kB / 342.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.03648, allocations: 57.17 kB / 342.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.03832, allocations: 0.621 MB / 343.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.0385, allocations: 165.2 kB / 343.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.03862, allocations: 26.97 kB / 343.5 MB, free: 1.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.03871, allocations: 28.5 kB / 343.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.03871, allocations: 0 / 343.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of Templates: time 0.0108/0.04951, allocations: 4.531 MB / 348 MB, free: 13.33 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.506589371711016]