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.0007907/0.0007907, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.0008772/0.0008772, allocations: 165 kB / 24.56 MB, free: 24 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.9412/0.9412, allocations: 177.1 MB / 205 MB, free: 5.605 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 4.458e-06/4.458e-06, allocations: 3.984 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.252e-05/4.698e-05, allocations: 6.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004477/0.004524, allocations: 2.842 MB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.005509, allocations: 0.6349 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.005628, allocations: 4 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.00576, allocations: 51.5 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.005908, allocations: 107 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.006066, allocations: 71.89 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.006307, allocations: 358.7 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.006479, allocations: 107.8 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.006631, allocations: 195.6 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.00681, allocations: 115.7 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.006855, allocations: 32 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.006887, allocations: 28 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.006927, allocations: 79.73 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.007007, allocations: 115.7 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.007222, allocations: 231.1 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007225, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.007226, allocations: 4 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.007231, allocations: 0 / 277.9 MB, free: 12.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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000753/0.007984, allocations: 0.6247 MB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.00802, allocations: 8.031 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.008094, allocations: 56.75 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.008296, allocations: 204 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.008313, allocations: 25.02 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.008349, allocations: 28.38 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.008618, allocations: 250.8 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.008626, allocations: 4.188 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.008646, allocations: 12.38 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.008656, allocations: 11.94 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.008792, allocations: 99.86 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008872/0.00968, allocations: 0.8904 MB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.009893, allocations: 143.2 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01, allocations: 94.92 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.01001, allocations: 11.94 kB / 280.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.01004, allocations: 37.39 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01004, allocations: 0 / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008227/0.01086, allocations: 0.6115 MB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.01089, allocations: 55.41 kB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.01101, allocations: 238.6 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01103, allocations: 33.7 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.01111, allocations: 219.3 kB / 281.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.01116, allocations: 91.22 kB / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.01121, allocations: 59.59 kB / 281.7 MB, free: 8.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01132, allocations: 0.4962 MB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.01137, allocations: 40.53 kB / 282.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.01145, allocations: 68.47 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01158, allocations: 131.3 kB / 282.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01158, allocations: 0 / 282.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002687/0.01185, allocations: 256.9 kB / 282.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01186, allocations: 8 kB / 282.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01187, allocations: 4 kB / 282.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.01206, allocations: 83.66 kB / 282.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01217, allocations: 51.86 kB / 282.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.01343, allocations: 2.368 MB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.01349, allocations: 8 kB / 285.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.0135, allocations: 8 kB / 285.2 MB, free: 4.836 MB / 266.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.263e-05/0.01359, allocations: 164.6 kB / 285.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01362, allocations: 31.84 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.01365, allocations: 25.97 kB / 285.4 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01365, allocations: 7.984 kB / 285.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01366, allocations: 0 / 285.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01366, allocations: 0 / 285.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.01425, allocations: 0.6255 MB / 286.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01425, allocations: 112 / 286.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.01435, allocations: 43.92 kB / 286.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.01451, allocations: 75.62 kB / 286.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01453, allocations: 8 kB / 286.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.01574, allocations: 2.294 MB / 288.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01575, allocations: 3.984 kB / 288.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.01614, allocations: 428.2 kB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.01616, allocations: 23.84 kB / 288.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01617, allocations: 4 kB / 288.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.01625, allocations: 12 kB / 288.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.0163, allocations: 27.92 kB / 289 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01631, allocations: 8 kB / 289 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.0164, allocations: 181 kB / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0164, allocations: 0 / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.01668, allocations: 79.94 kB / 289.2 MB, free: 0.6133 MB / 266.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 9.569e-05/0.01678, allocations: 99.25 kB / 289.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.01722, allocations: 373.1 kB / 289.7 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01722, allocations: 0 / 289.7 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.01746, allocations: 301.2 kB / 290 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01768, allocations: 27.98 kB / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.01867, allocations: 0.6509 MB / 290.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.01873, allocations: 88.31 kB / 290.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.01878, allocations: 21.94 kB / 290.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.01881, allocations: 16.5 kB / 290.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01881, allocations: 0 / 290.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.005948/0.02476, allocations: 3.482 MB / 294.3 MB, free: 11.51 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] 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","",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.7378731910139322]