Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002624/0.002624, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003057/0.003057, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.64/1.64, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.287e-05, allocations: 6.312 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005261/0.005294, allocations: 3.059 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.007131, allocations: 0.7831 MB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.007292, allocations: 7.938 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.007489, allocations: 55.44 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.007805, allocations: 127 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.008225, allocations: 131.7 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.008911, allocations: 474 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.009191, allocations: 91.48 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.009765, allocations: 275.3 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.01006, allocations: 151.6 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.01015, allocations: 44 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.01023, allocations: 44 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.01034, allocations: 95.61 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.01053, allocations: 131.7 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.01122, allocations: 0.5063 MB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01123, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01123, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01124, allocations: 0 / 278.3 MB, free: 11.81 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001478/0.01271, allocations: 0.7468 MB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.01275, allocations: 12.03 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.01289, allocations: 64.69 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.01357, allocations: 267.4 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.01359, allocations: 21.03 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.01366, allocations: 28.38 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.01443, allocations: 410.6 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.01444, allocations: 192 / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.01448, allocations: 11.94 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01449, allocations: 8 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.01521, allocations: 262.5 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.01757, allocations: 1.268 MB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.01823, allocations: 222.9 kB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.01858, allocations: 119.6 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.01862, allocations: 4 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.0191, allocations: 243.4 kB / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.0191, allocations: 0 / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001659/0.02076, allocations: 446.5 kB / 282.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.02085, allocations: 110.8 kB / 282.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.02132, allocations: 392.4 kB / 282.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.02135, allocations: 29.7 kB / 282.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.0216, allocations: 275 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.02168, allocations: 63.48 kB / 283.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.02181, allocations: 67.36 kB / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003044/0.02211, allocations: 0.5235 MB / 283.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.02243, allocations: 125.9 kB / 284 MB, free: 5.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.02293, allocations: 330 kB / 284.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.02361, allocations: 341.2 kB / 284.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.02362, allocations: 4 kB / 284.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001123/0.02474, allocations: 472 kB / 285.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.02479, allocations: 33.7 kB / 285.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.0248, allocations: 4 kB / 285.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.02521, allocations: 79.89 kB / 285.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.0255, allocations: 59.91 kB / 285.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.02816, allocations: 1.939 MB / 287.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.02849, allocations: 51.7 kB / 287.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.02851, allocations: 8 kB / 287.2 MB, free: 2.277 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.02875, allocations: 208.6 kB / 287.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.02881, allocations: 27.86 kB / 287.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.02887, allocations: 26.11 kB / 287.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.02888, allocations: 7.938 kB / 287.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02888, allocations: 0 / 287.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.02888, allocations: 3.984 kB / 287.5 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.03035, allocations: 0.7346 MB / 288.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03036, allocations: 0 / 288.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.03056, allocations: 35.97 kB / 288.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.03087, allocations: 79.61 kB / 288.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.0309, allocations: 4 kB / 288.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.0331, allocations: 1.931 MB / 290.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0331, allocations: 0 / 290.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.03433, allocations: 0.5482 MB / 290.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.03439, allocations: 35.8 kB / 290.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.03443, allocations: 4 kB / 290.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.03467, allocations: 19.98 kB / 290.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.03476, allocations: 31.89 kB / 290.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.03478, allocations: 4 kB / 290.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.03506, allocations: 257.1 kB / 291.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03506, allocations: 0 / 291.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.03547, allocations: 83.83 kB / 291.3 MB, free: 14.03 MB / 282.7 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: 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.03562, allocations: 103.2 kB / 291.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.03661, allocations: 0.5126 MB / 291.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03662, allocations: 0 / 291.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.03708, allocations: 285.4 kB / 292.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.03751, allocations: 56.48 kB / 292.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.03964, allocations: 0.6961 MB / 292.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.03982, allocations: 159.5 kB / 293.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.03994, allocations: 26.97 kB / 293.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.04002, allocations: 28.48 kB / 293.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04002, allocations: 0 / 293.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01012/0.05014, allocations: 4.356 MB / 297.5 MB, free: 7.754 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.725269083981402]