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.001092/0.001092, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001009/0.001009, allocations: 161.4 kB / 24.56 MB, free: 20 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.008/1.008, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.693e-06/1.693e-06, allocations: 0 / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.073e-05, allocations: 2.312 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005286/0.005317, allocations: 3.098 MB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.007356, allocations: 0.7986 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.007663, allocations: 4 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.007891, allocations: 59.38 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.008242, allocations: 123 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.00874, allocations: 127.7 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.009486, allocations: 474 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.00976, allocations: 91.5 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.01038, allocations: 271.3 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.01066, allocations: 151.6 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.01073, allocations: 44 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.01079, allocations: 44 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.01087, allocations: 87.67 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.01105, allocations: 151.6 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.01157, allocations: 279 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01157, allocations: 0 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01158, allocations: 7.938 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.01159, allocations: 0 / 278.8 MB, free: 11.54 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.001388/0.01298, allocations: 0.7198 MB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000115/0.01309, allocations: 8.031 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.01328, allocations: 60.7 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.01371, allocations: 255.5 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01374, allocations: 24.97 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.01379, allocations: 36.33 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005293/0.01432, allocations: 323.4 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01433, allocations: 192 / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.01436, allocations: 19.92 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.01438, allocations: 8 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.01457, allocations: 111.8 kB / 280.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.01587, allocations: 1.108 MB / 281.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.01613, allocations: 135 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.01626, allocations: 63.66 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.01629, allocations: 8 kB / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.01653, allocations: 193.9 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.01653, allocations: 0 / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006634/0.0172, allocations: 288.9 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.01725, allocations: 114.7 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01748, allocations: 320.5 kB / 282.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.0175, allocations: 33.7 kB / 282.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01762, allocations: 251 kB / 282.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.01767, allocations: 67.47 kB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.01774, allocations: 55.36 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01789, allocations: 0.5118 MB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.01798, allocations: 61.95 kB / 283.5 MB, free: 6.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.01815, allocations: 262 kB / 283.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.01835, allocations: 229.8 kB / 284 MB, free: 5.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01835, allocations: 0 / 284 MB, free: 5.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004066/0.01876, allocations: 343.4 kB / 284.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.01879, allocations: 37.7 kB / 284.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0188, allocations: 0 / 284.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.01904, allocations: 55.59 kB / 284.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01919, allocations: 67.95 kB / 284.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.02029, allocations: 1.759 MB / 286.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.02045, allocations: 59.81 kB / 286.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.02047, allocations: 15.94 kB / 286.3 MB, free: 3.402 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.0001196/0.02059, allocations: 172.5 kB / 286.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.02063, allocations: 27.86 kB / 286.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.02066, allocations: 34.11 kB / 286.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.02067, allocations: 3.984 kB / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.02067, allocations: 0 / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.02067, allocations: 0 / 286.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.02129, allocations: 0.5706 MB / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.02129, allocations: 0 / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.0214, allocations: 43.91 kB / 287.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.02154, allocations: 51.64 kB / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.02155, allocations: 7.984 kB / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.0224, allocations: 1.763 MB / 289 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0224, allocations: 4 kB / 289 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.02277, allocations: 381.7 kB / 289.4 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.0228, allocations: 31.8 kB / 289.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.02282, allocations: 0 / 289.4 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.02293, allocations: 32.06 kB / 289.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.02299, allocations: 23.91 kB / 289.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.023, allocations: 4 kB / 289.5 MB, free: 52 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1454/0.1684, allocations: 216.2 kB / 289.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1684, allocations: 0 / 289.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005533/0.169, allocations: 87.14 kB / 289.8 MB, free: 24.71 MB / 266.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.0001318/0.1691, allocations: 99.86 kB / 289.9 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1697, allocations: 389 kB / 290.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1697, allocations: 0.6875 kB / 290.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1699, allocations: 227 kB / 290.5 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1703, allocations: 54.95 kB / 290.5 MB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1722, allocations: 0.66 MB / 291.2 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.402e-05/0.1722, allocations: 87.53 kB / 291.3 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1723, allocations: 34.94 kB / 291.3 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1724, allocations: 24.61 kB / 291.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1724, allocations: 1 kB / 291.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of Templates: time 0.008876/0.1813, allocations: 4.373 MB / 295.7 MB, free: 23.44 MB / 266.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.199469913262874]