Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.000904/0.000904, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003082/0.003082, allocations: 141.2 kB / 24.68 MB, free: 8.883 MB / 18.57 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 0.8004/0.8004, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.9e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00239/0.002409, allocations: 2.594 MB / 322.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006641/0.003073, allocations: 0.6115 MB / 322.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003175, allocations: 4 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003295, allocations: 51.44 kB / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.003407, allocations: 95.12 kB / 323.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.003553, allocations: 75.83 kB / 323.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.003792, allocations: 370.7 kB / 323.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.00396, allocations: 99.83 kB / 323.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.004086, allocations: 199.6 kB / 323.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004212, allocations: 107.7 kB / 323.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.00425, allocations: 32 kB / 323.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.004276, allocations: 28 kB / 324 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.004317, allocations: 79.67 kB / 324 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.004385, allocations: 107.8 kB / 324.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.004649, allocations: 370.8 kB / 324.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004652, allocations: 3.984 kB / 324.5 MB, free: 1 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004653, allocations: 0 / 324.5 MB, free: 1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004657, allocations: 4 kB / 324.5 MB, free: 0.9961 MB / 282.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.0005982/0.005255, allocations: 0.5131 MB / 325 MB, free: 464 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.005289, allocations: 12.92 kB / 325 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.005339, allocations: 36.75 kB / 325.1 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.005561, allocations: 205.3 kB / 325.3 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.005578, allocations: 21.03 kB / 325.3 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.005616, allocations: 28.38 kB / 325.3 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.005923, allocations: 298.1 kB / 325.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005933, allocations: 192 / 325.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.005954, allocations: 16.36 kB / 325.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005962, allocations: 11.94 kB / 325.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.006165, allocations: 182.5 kB / 325.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.007042, allocations: 0.8599 MB / 326.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.007291, allocations: 158.6 kB / 326.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.007425, allocations: 136.7 kB / 327 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.007436, allocations: 4 kB / 327 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.007455, allocations: 34.56 kB / 327 MB, free: 14.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.007456, allocations: 0 / 327 MB, free: 14.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009213/0.008378, allocations: 0.7002 MB / 327.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.008408, allocations: 51.41 kB / 327.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.008524, allocations: 188.4 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.00854, allocations: 29.7 kB / 328 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.008621, allocations: 180.5 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.008664, allocations: 95.16 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.008717, allocations: 45.98 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.008805, allocations: 334.8 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.008891, allocations: 72.53 kB / 328.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.008988, allocations: 98.8 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.009167, allocations: 181.6 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009168, allocations: 0 / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003168/0.009485, allocations: 322 kB / 329.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.0095, allocations: 8 kB / 329.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.009505, allocations: 0 / 329.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.009685, allocations: 84.75 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.009785, allocations: 51.91 kB / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.01106, allocations: 1.942 MB / 331.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.01112, allocations: 4 kB / 331.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01113, allocations: 12.03 kB / 331.4 MB, free: 9.77 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 8.857e-05/0.01121, allocations: 141.9 kB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01124, allocations: 19.84 kB / 331.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.01126, allocations: 25.97 kB / 331.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01126, allocations: 4 kB / 331.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01127, allocations: 4 kB / 331.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01127, allocations: 3.984 kB / 331.6 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.01186, allocations: 0.6431 MB / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01186, allocations: 0 / 332.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.01195, allocations: 35.97 kB / 332.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.01207, allocations: 72.84 kB / 332.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01208, allocations: 11.94 kB / 332.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.0131, allocations: 1.833 MB / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.0131, allocations: 8.078 kB / 334.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.01348, allocations: 460 kB / 334.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.0135, allocations: 19.89 kB / 334.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01351, allocations: 4.062 kB / 334.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01358, allocations: 12 kB / 334.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.01362, allocations: 19.95 kB / 334.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01363, allocations: 8 kB / 334.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.0137, allocations: 141.7 kB / 334.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0137, allocations: 0 / 334.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.01394, allocations: 83.94 kB / 334.9 MB, free: 6.074 MB / 298.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 8.395e-05/0.01403, allocations: 107.2 kB / 335 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.01443, allocations: 355 kB / 335.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01443, allocations: 0 / 335.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.01465, allocations: 258.5 kB / 335.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.01486, allocations: 40.59 kB / 335.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.01554, allocations: 0.6722 MB / 336.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.01563, allocations: 162.7 kB / 336.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.01567, allocations: 24.44 kB / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01567, allocations: 0 / 336.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of Templates: time 0.003609/0.01928, allocations: 4.118 MB / 340.6 MB, free: 272 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.320647764019668]