Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 89.48 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 161.2 kB / 24.7 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 299 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.325e-05, allocations: 6.281 kB / 299 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004227/0.00426, allocations: 2.633 MB / 301.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.005734, allocations: 0.7176 MB / 302.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.005871, allocations: 11.94 kB / 302.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.006038, allocations: 47.56 kB / 302.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.006257, allocations: 107.1 kB / 302.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.006559, allocations: 111.7 kB / 302.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.007015, allocations: 398.2 kB / 303 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.007165, allocations: 65.12 kB / 303.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.007468, allocations: 223.3 kB / 303.3 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.007655, allocations: 123.6 kB / 303.4 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.007749, allocations: 36 kB / 303.4 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.007811, allocations: 32 kB / 303.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.007885, allocations: 71.69 kB / 303.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.008078, allocations: 119.7 kB / 303.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.008557, allocations: 362.9 kB / 304 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00856, allocations: 0 / 304 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.008561, allocations: 0 / 304 MB, free: 3.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.008566, allocations: 0 / 304 MB, free: 3.715 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001353/0.009919, allocations: 0.5936 MB / 304.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.009953, allocations: 15.98 kB / 304.6 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.01004, allocations: 36.7 kB / 304.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.01042, allocations: 230.3 kB / 304.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.01045, allocations: 16.88 kB / 304.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.01049, allocations: 20.38 kB / 304.9 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.0112, allocations: 320 kB / 305.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01122, allocations: 192 / 305.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.01124, allocations: 8.375 kB / 305.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.01126, allocations: 15.92 kB / 305.3 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.01207, allocations: 265.8 kB / 305.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.01364, allocations: 0.7476 MB / 306.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009052/0.01455, allocations: 254.7 kB / 306.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.01494, allocations: 116.8 kB / 306.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.01496, allocations: 4 kB / 306.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.01548, allocations: 243.8 kB / 306.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.01549, allocations: 0 / 306.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001941/0.01743, allocations: 0.5017 MB / 307.4 MB, free: 184 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.01753, allocations: 110.8 kB / 307.5 MB, free: 48 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.01784, allocations: 257.9 kB / 307.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.01788, allocations: 29.7 kB / 307.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.01802, allocations: 188.1 kB / 307.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.01808, allocations: 59.48 kB / 308 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01818, allocations: 49.94 kB / 308 MB, free: 15.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01835, allocations: 334.8 kB / 308.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.01872, allocations: 139.3 kB / 308.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.01917, allocations: 249.1 kB / 308.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.01985, allocations: 271.6 kB / 309 MB, free: 14.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.01985, allocations: 7.938 kB / 309 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001185/0.02104, allocations: 453.4 kB / 309.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.02107, allocations: 29.7 kB / 309.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.02108, allocations: 8 kB / 309.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.02154, allocations: 92.78 kB / 309.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.0218, allocations: 63.83 kB / 309.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.02371, allocations: 1.425 MB / 311.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.02401, allocations: 43.84 kB / 311.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.02404, allocations: 12 kB / 311.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004187/0.02446, allocations: 218.1 kB / 311.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004044/0.02486, allocations: 241.2 kB / 311.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005835/0.02545, allocations: 251.4 kB / 311.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.02545, allocations: 3.938 kB / 311.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008252/0.02627, allocations: 373.5 kB / 312.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.02631, allocations: 40.36 kB / 312.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.02632, allocations: 3.984 kB / 312.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.644e-05/0.02638, allocations: 20.86 kB / 312.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.02664, allocations: 67.77 kB / 312.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.02784, allocations: 1.418 MB / 313.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.02815, allocations: 47.81 kB / 313.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.02817, allocations: 11.98 kB / 313.8 MB, free: 9.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.000163/0.02834, allocations: 196.1 kB / 314 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.02838, allocations: 23.86 kB / 314 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.02843, allocations: 34.19 kB / 314.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.02844, allocations: 4.094 kB / 314.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02844, allocations: 0 / 314.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.02844, allocations: 0 / 314.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.02977, allocations: 0.6204 MB / 314.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02977, allocations: 0 / 314.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.02999, allocations: 39.91 kB / 314.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.03017, allocations: 48.81 kB / 314.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.03019, allocations: 11.94 kB / 314.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.03188, allocations: 1.405 MB / 316.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03188, allocations: 0 / 316.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.03322, allocations: 0.5046 MB / 316.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.03326, allocations: 23.89 kB / 316.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.0333, allocations: 4 kB / 316.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.03358, allocations: 36.03 kB / 316.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.03367, allocations: 35.83 kB / 316.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.03369, allocations: 4 kB / 316.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.03389, allocations: 185.2 kB / 317 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03389, allocations: 4.062 kB / 317 MB, free: 5.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.03446, allocations: 139.7 kB / 317.1 MB, free: 5.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,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 (16): * Single equations (assignments): 13 * 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.000173/0.03463, allocations: 95.25 kB / 317.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.0363, allocations: 0.7406 MB / 317.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.0363, allocations: 0 / 317.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.03679, allocations: 231.3 kB / 318.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.0372, allocations: 52.36 kB / 318.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.03843, allocations: 0.5154 MB / 318.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.0386, allocations: 151.2 kB / 318.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.03873, allocations: 30.27 kB / 318.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.0388, allocations: 24.5 kB / 318.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.0388, allocations: 0 / 318.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of Templates: time 0.151/0.1898, allocations: 4.27 MB / 323.2 MB, free: 33.99 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.356687288731337]