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.0009211/0.0009211, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001213/0.001213, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.967/0.967, allocations: 177.1 MB / 205 MB, free: 5.301 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.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.469e-05, allocations: 9.828 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003139/0.003164, allocations: 3.095 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.004505, allocations: 0.7909 MB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.004692, allocations: 7.938 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.004852, allocations: 51.5 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.005062, allocations: 126.9 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.005387, allocations: 135.7 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.005826, allocations: 474 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.006023, allocations: 87.5 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.006395, allocations: 271.3 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.006561, allocations: 147.6 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.006607, allocations: 44 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.006651, allocations: 44 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.006705, allocations: 95.66 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.006812, allocations: 139.7 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.007213, allocations: 291 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007216, allocations: 0 / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007217, allocations: 0 / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.007223, allocations: 0 / 278.8 MB, free: 11.56 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.001185/0.008408, allocations: 0.7159 MB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.008444, allocations: 12.03 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.641e-05/0.008541, allocations: 60.7 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.00885, allocations: 251.5 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.008877, allocations: 21.03 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.008919, allocations: 32.33 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.009355, allocations: 339.3 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.009365, allocations: 192 / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.009389, allocations: 11.94 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.009403, allocations: 8 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.009601, allocations: 111.9 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.01088, allocations: 1.116 MB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.01114, allocations: 142.9 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.01127, allocations: 67.64 kB / 281.7 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.0113, allocations: 4 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.01155, allocations: 190.1 kB / 281.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.01155, allocations: 0 / 281.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007264/0.01228, allocations: 288.9 kB / 282.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.01234, allocations: 110.8 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.01257, allocations: 316.5 kB / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.01259, allocations: 29.7 kB / 282.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01272, allocations: 259 kB / 282.8 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.01276, allocations: 67.47 kB / 282.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.01284, allocations: 55.36 kB / 282.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01299, allocations: 0.5079 MB / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.01308, allocations: 65.95 kB / 283.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.01324, allocations: 262 kB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.01344, allocations: 229.8 kB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.01345, allocations: 4 kB / 284 MB, free: 5.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004564/0.01391, allocations: 339.5 kB / 284.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.01395, allocations: 41.69 kB / 284.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.01396, allocations: 4 kB / 284.4 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.0142, allocations: 47.66 kB / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01435, allocations: 67.97 kB / 284.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.01561, allocations: 1.763 MB / 286.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.01578, allocations: 51.83 kB / 286.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.0158, allocations: 15.98 kB / 286.3 MB, free: 3.43 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.0001115/0.01591, allocations: 176.5 kB / 286.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.01595, allocations: 31.8 kB / 286.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.01598, allocations: 34.11 kB / 286.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01598, allocations: 0 / 286.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01598, allocations: 0 / 286.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01599, allocations: 8 kB / 286.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.01656, allocations: 0.5665 MB / 287.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01656, allocations: 0 / 287.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01667, allocations: 39.97 kB / 287.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.01682, allocations: 59.56 kB / 287.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01684, allocations: 0 / 287.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007596/0.01759, allocations: 1.771 MB / 289 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0176, allocations: 0 / 289 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01795, allocations: 381.2 kB / 289.4 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.01798, allocations: 31.8 kB / 289.4 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01801, allocations: 4 kB / 289.4 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.01812, allocations: 28.08 kB / 289.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.01818, allocations: 27.88 kB / 289.5 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01819, allocations: 4 kB / 289.5 MB, free: 72 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1057/0.1239, allocations: 218.5 kB / 289.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1239, allocations: 0 / 289.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.1244, allocations: 84.23 kB / 289.8 MB, free: 25.2 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 9.939e-05/0.1245, allocations: 102.1 kB / 289.9 MB, free: 25.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.125, allocations: 389.8 kB / 290.2 MB, free: 24.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.125, allocations: 2.906 kB / 290.2 MB, free: 24.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1251, allocations: 222.8 kB / 290.5 MB, free: 24.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1255, allocations: 52.88 kB / 290.5 MB, free: 24.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1271, allocations: 0.6572 MB / 291.2 MB, free: 24.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.1271, allocations: 86.75 kB / 291.3 MB, free: 24.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1272, allocations: 30.23 kB / 291.3 MB, free: 24.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.1273, allocations: 28 kB / 291.3 MB, free: 24.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1273, allocations: 0 / 291.3 MB, free: 24.3 MB / 266.7 MB Notification: Performance of Templates: time 0.007705/0.135, allocations: 4.585 MB / 295.9 MB, free: 23.89 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: 2.87972711911425]