Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002884/0.002884, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 55.91 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2934, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00488/0.2983, allocations: 2.854 MB / 426 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2999, allocations: 0.7519 MB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3001, allocations: 11.94 kB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.3003, allocations: 51.5 kB / 426.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3005, allocations: 119 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.3009, allocations: 135.8 kB / 427 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.3014, allocations: 454.3 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.3016, allocations: 95.16 kB / 427.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.3019, allocations: 183.4 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3021, allocations: 171.1 kB / 427.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.3022, allocations: 44 kB / 427.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.3023, allocations: 48 kB / 428 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.3024, allocations: 83.7 kB / 428.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3026, allocations: 159.2 kB / 428.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.3031, allocations: 0.5006 MB / 428.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3031, allocations: 0 / 428.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3032, allocations: 0 / 428.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3032, allocations: 0 / 428.7 MB, free: 8.82 MB / 334.1 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.001494/0.3047, allocations: 0.6355 MB / 429.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3047, allocations: 16.03 kB / 429.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.3048, allocations: 40.7 kB / 429.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.3053, allocations: 252.9 kB / 429.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3053, allocations: 21.03 kB / 429.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.3054, allocations: 24.38 kB / 429.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.3062, allocations: 404.4 kB / 430.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3062, allocations: 4 kB / 430.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3062, allocations: 15.98 kB / 430.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3063, allocations: 11.98 kB / 430.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.3072, allocations: 302.4 kB / 430.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.3094, allocations: 1.086 MB / 431.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/0.3102, allocations: 242.4 kB / 431.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.3107, allocations: 136.7 kB / 431.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.3107, allocations: 4 kB / 431.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.3113, allocations: 251.9 kB / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.3113, allocations: 0 / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002259/0.3135, allocations: 0.5681 MB / 432.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.3136, allocations: 102.8 kB / 432.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.314, allocations: 290.1 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.314, allocations: 33.7 kB / 433.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3142, allocations: 216.2 kB / 433.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.3142, allocations: 55.53 kB / 433.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3144, allocations: 57.66 kB / 433.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3145, allocations: 338.8 kB / 433.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.3149, allocations: 145.9 kB / 433.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.3154, allocations: 298.4 kB / 434.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.3163, allocations: 337.5 kB / 434.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3163, allocations: 4 kB / 434.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001316/0.3176, allocations: 0.4991 MB / 435 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.3176, allocations: 37.69 kB / 435.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3176, allocations: 4 kB / 435.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.318, allocations: 68.81 kB / 435.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.3183, allocations: 71.89 kB / 435.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.3206, allocations: 1.507 MB / 436.7 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3209, allocations: 55.8 kB / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.321, allocations: 8 kB / 436.8 MB, free: 260 kB / 334.1 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.0001953/0.3212, allocations: 157.7 kB / 436.9 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.3212, allocations: 27.92 kB / 437 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.3213, allocations: 26.11 kB / 437 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3213, allocations: 7.938 kB / 437 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3213, allocations: 0 / 437 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3213, allocations: 3.984 kB / 437 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3229, allocations: 0.679 MB / 437.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3229, allocations: 8.031 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3231, allocations: 39.95 kB / 437.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.3234, allocations: 60.77 kB / 437.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3234, allocations: 15.92 kB / 437.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.3256, allocations: 1.491 MB / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3256, allocations: 3.938 kB / 439.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.3271, allocations: 0.5663 MB / 439.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.3272, allocations: 31.72 kB / 439.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.3272, allocations: 8 kB / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.3275, allocations: 39.89 kB / 439.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.3276, allocations: 27.97 kB / 440 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3276, allocations: 4 kB / 440 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3279, allocations: 201.2 kB / 440.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3279, allocations: 0 / 440.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.3283, allocations: 83.84 kB / 440.3 MB, free: 12.61 MB / 350.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: 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.0001625/0.3285, allocations: 103.2 kB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3296, allocations: 466.5 kB / 440.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3296, allocations: 0 / 440.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.3301, allocations: 239.3 kB / 441 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.3305, allocations: 51.64 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.3335, allocations: 0.8618 MB / 442 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3337, allocations: 159.4 kB / 442.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.3338, allocations: 30.97 kB / 442.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.3339, allocations: 19.44 kB / 442.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3339, allocations: 0 / 442.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Templates: time 0.009936/0.3439, allocations: 4.61 MB / 446.8 MB, free: 6.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8557117991149426]