Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001203/0.001203, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006734/0.006734, allocations: 156.1 kB / 24.7 MB, free: 8.898 MB / 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.8522/0.8522, allocations: 177.1 MB / 205 MB, free: 5.738 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.731e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002458/0.002475, allocations: 2.642 MB / 328.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.003177, allocations: 0.631 MB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.003272, allocations: 11.94 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.003383, allocations: 47.56 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.0035, allocations: 103 kB / 329.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.003646, allocations: 71.89 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.003886, allocations: 362.7 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.004055, allocations: 107.5 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.004199, allocations: 207.5 kB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.00433, allocations: 107.7 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.004366, allocations: 28 kB / 330.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.004395, allocations: 32 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.004441, allocations: 75.73 kB / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.004514, allocations: 107.8 kB / 330.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.004773, allocations: 370.8 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004775, allocations: 0 / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.004778, allocations: 4 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004783, allocations: 0 / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005636/0.005347, allocations: 0.521 MB / 331.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.005385, allocations: 8.031 kB / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.005433, allocations: 44.69 kB / 331.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.005642, allocations: 197.2 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.005662, allocations: 21.03 kB / 331.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.0057, allocations: 32.38 kB / 331.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.005993, allocations: 298 kB / 331.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006002, allocations: 4.188 kB / 331.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.006022, allocations: 16.38 kB / 331.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.006031, allocations: 7.938 kB / 331.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.006251, allocations: 186.5 kB / 332 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.007136, allocations: 0.8405 MB / 332.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.007377, allocations: 166.6 kB / 333 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.00752, allocations: 132.8 kB / 333.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.007533, allocations: 7.984 kB / 333.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.007554, allocations: 38.5 kB / 333.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.007555, allocations: 0 / 333.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001012/0.008568, allocations: 0.6954 MB / 333.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.008597, allocations: 59.34 kB / 334 MB, free: 7.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008717, allocations: 192.1 kB / 334.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.008732, allocations: 33.7 kB / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.008803, allocations: 168.6 kB / 334.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.008848, allocations: 95.17 kB / 334.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.008896, allocations: 49.98 kB / 334.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.008974, allocations: 326.8 kB / 334.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.009059, allocations: 72.53 kB / 334.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.009153, allocations: 102.8 kB / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.009328, allocations: 178.2 kB / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009329, allocations: 0 / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003103/0.009639, allocations: 318 kB / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.009652, allocations: 4 kB / 335.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.009658, allocations: 4 kB / 335.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.009827, allocations: 96.7 kB / 335.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.00992, allocations: 39.98 kB / 335.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.01118, allocations: 1.95 MB / 337.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.01123, allocations: 12.03 kB / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.01124, allocations: 8.094 kB / 337.6 MB, free: 3.293 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/0.01133, allocations: 145.7 kB / 337.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01136, allocations: 23.8 kB / 337.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.01138, allocations: 29.95 kB / 337.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01138, allocations: 4 kB / 337.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01139, allocations: 4.062 kB / 337.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01139, allocations: 0 / 337.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.01196, allocations: 0.6283 MB / 338.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01196, allocations: 4 kB / 338.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.01205, allocations: 31.98 kB / 338.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.01216, allocations: 80.73 kB / 338.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01217, allocations: 4 kB / 338.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.01319, allocations: 1.853 MB / 340.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01319, allocations: 4.344 kB / 340.4 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.01357, allocations: 459.9 kB / 340.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.01359, allocations: 19.92 kB / 340.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01361, allocations: 7.938 kB / 340.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.01368, allocations: 15.98 kB / 340.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.01372, allocations: 19.95 kB / 340.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.01373, allocations: 12 kB / 340.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.0138, allocations: 145.1 kB / 341 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0138, allocations: 0 / 341 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.01404, allocations: 79.94 kB / 341.1 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.737e-05/0.01412, allocations: 103.2 kB / 341.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.0145, allocations: 362.4 kB / 341.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0145, allocations: 0 / 341.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01471, allocations: 238.5 kB / 341.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.01493, allocations: 36.11 kB / 341.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.0156, allocations: 0.6761 MB / 342.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.01569, allocations: 154.9 kB / 342.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.01573, allocations: 16.5 kB / 342.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01573, allocations: 4 kB / 342.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Templates: time 0.003449/0.01917, allocations: 4.127 MB / 346.8 MB, free: 9.781 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.358371661044657]