Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001496/0.001496, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001083/0.001083, allocations: 167.1 kB / 25.6 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.018/1.018, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.42e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003579/0.003603, allocations: 2.731 MB / 254.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.007609, allocations: 0.6435 MB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.00774, allocations: 4 kB / 254.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.007896, allocations: 55.44 kB / 254.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.008066, allocations: 95.19 kB / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.008257, allocations: 75.83 kB / 255.1 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.008583, allocations: 370.6 kB / 255.4 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.008808, allocations: 99.83 kB / 255.5 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.009021, allocations: 195.6 kB / 255.7 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.00921, allocations: 111.7 kB / 255.8 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.009261, allocations: 32 kB / 255.9 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.009308, allocations: 28 kB / 255.9 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.009372, allocations: 79.67 kB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.009481, allocations: 115.8 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.009795, allocations: 235.1 kB / 256.3 MB, free: 2.367 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.009799, allocations: 4 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.0098, allocations: 0 / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009805, allocations: 0 / 256.3 MB, free: 2.363 MB / 234.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.003816/0.01362, allocations: 0.6247 MB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.01367, allocations: 11.98 kB / 257 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/0.01375, allocations: 60.7 kB / 257 MB, free: 1.625 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.014, allocations: 200.1 kB / 257.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.01403, allocations: 21.03 kB / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.01408, allocations: 36.33 kB / 257.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.01439, allocations: 230.8 kB / 257.5 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.0144, allocations: 8.125 kB / 257.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.01442, allocations: 12.38 kB / 257.5 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.01444, allocations: 7.938 kB / 257.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01457, allocations: 84.5 kB / 257.6 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01567, allocations: 0.8364 MB / 258.4 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.01892, allocations: 141.9 kB / 258.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.01903, allocations: 79.66 kB / 258.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.01904, allocations: 7.938 kB / 258.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.01907, allocations: 45.38 kB / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.01907, allocations: 0 / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009034/0.01997, allocations: 0.5452 MB / 259.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.02001, allocations: 55.41 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.02016, allocations: 238.5 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.02018, allocations: 33.7 kB / 259.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.02029, allocations: 215.2 kB / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.02036, allocations: 99.14 kB / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.02043, allocations: 55.62 kB / 259.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.0206, allocations: 0.5118 MB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.02065, allocations: 24.55 kB / 260.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.02072, allocations: 69.55 kB / 260.5 MB, free: 13.87 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.02086, allocations: 99.33 kB / 260.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02086, allocations: 0 / 260.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003138/0.02117, allocations: 240.9 kB / 260.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.02119, allocations: 8 kB / 260.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.0212, allocations: 0 / 260.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.02141, allocations: 91.53 kB / 261 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.02154, allocations: 35.98 kB / 261 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.02608, allocations: 2.314 MB / 263.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.02615, allocations: 12.03 kB / 263.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.02616, allocations: 4 kB / 263.3 MB, free: 10.95 MB / 250.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 0.0001055/0.02626, allocations: 172.5 kB / 263.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.02631, allocations: 31.8 kB / 263.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.02634, allocations: 25.97 kB / 263.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.02635, allocations: 4 kB / 263.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.02635, allocations: 0 / 263.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.02636, allocations: 7.984 kB / 263.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.02703, allocations: 0.5754 MB / 264.1 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.02704, allocations: 8 kB / 264.1 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.02715, allocations: 31.98 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.02732, allocations: 67.56 kB / 264.2 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.02733, allocations: 11.98 kB / 264.3 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.03162, allocations: 2.248 MB / 266.5 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03162, allocations: 0 / 266.5 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.032, allocations: 403.1 kB / 266.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.03203, allocations: 23.78 kB / 266.9 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.03205, allocations: 8 kB / 266.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.03215, allocations: 8 kB / 266.9 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.0322, allocations: 23.89 kB / 267 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.03221, allocations: 12.03 kB / 267 MB, free: 7.109 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.03229, allocations: 167.8 kB / 267.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03229, allocations: 4 kB / 267.1 MB, free: 6.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003724/0.03266, allocations: 76 kB / 267.2 MB, free: 6.867 MB / 250.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.898e-05/0.03276, allocations: 107.2 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.03315, allocations: 345.9 kB / 267.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03315, allocations: 4 kB / 267.7 MB, free: 6.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.03342, allocations: 293.2 kB / 267.9 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.03436, allocations: 39.98 kB / 268 MB, free: 6.039 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007944/0.03516, allocations: 0.6466 MB / 268.6 MB, free: 5.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.03521, allocations: 92.3 kB / 268.7 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.03525, allocations: 17.95 kB / 268.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.03536, allocations: 114.1 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03536, allocations: 0 / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of Templates: time 0.005495/0.04085, allocations: 3.556 MB / 272.4 MB, free: 1.598 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9243039707653224]