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.001169/0.001169, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002877, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001063/0.001063, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002471, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9182/0.9182, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08486/1.003, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.472e-06/1.472e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.358e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002645/0.002658, allocations: 2.86 MB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000915/0.003573, allocations: 0.6657 MB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.003708, allocations: 4 kB / 248.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.376e-05/0.003801, allocations: 47.5 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.00395, allocations: 103.1 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.004096, allocations: 75.88 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.004362, allocations: 358.8 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.004524, allocations: 102.5 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.004726, allocations: 228.5 kB / 249 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.004858, allocations: 107.7 kB / 249.1 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.004897, allocations: 32 kB / 249.1 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.004926, allocations: 32 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.004961, allocations: 51.81 kB / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.005036, allocations: 95.81 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.005262, allocations: 219.1 kB / 249.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.005277, allocations: 0 / 249.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.005279, allocations: 3.984 kB / 249.5 MB, free: 9.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.005294, allocations: 0 / 249.5 MB, free: 9.309 MB / 250.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.0006343/0.005928, allocations: 0.5661 MB / 250.1 MB, free: 8.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.005957, allocations: 8.031 kB / 250.1 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.006015, allocations: 48.89 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.006194, allocations: 169.3 kB / 250.3 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.006209, allocations: 21.03 kB / 250.3 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.006245, allocations: 32.36 kB / 250.3 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.006459, allocations: 242.7 kB / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.006466, allocations: 192 / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.006482, allocations: 12.38 kB / 250.6 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.00649, allocations: 11.94 kB / 250.6 MB, free: 8.141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.006581, allocations: 68.55 kB / 250.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.0074, allocations: 0.704 MB / 251.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.007602, allocations: 122.4 kB / 251.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.007684, allocations: 79.58 kB / 251.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.007697, allocations: 4 kB / 251.6 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.007724, allocations: 38.56 kB / 251.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.007726, allocations: 0 / 251.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008046/0.00853, allocations: 0.5246 MB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.008564, allocations: 63.28 kB / 252.2 MB, free: 6.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.008665, allocations: 177.3 kB / 252.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.00868, allocations: 29.7 kB / 252.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.008751, allocations: 172.5 kB / 252.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.0088, allocations: 87.2 kB / 252.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.008851, allocations: 57.92 kB / 252.7 MB, free: 5.895 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.008933, allocations: 338.8 kB / 253 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.008963, allocations: 24.55 kB / 253.1 MB, free: 5.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.009007, allocations: 54.81 kB / 253.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.009089, allocations: 98.14 kB / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.00909, allocations: 0 / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001867/0.009277, allocations: 194.2 kB / 253.4 MB, free: 5.172 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.00929, allocations: 15.41 kB / 253.4 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.009295, allocations: 0 / 253.4 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.009551, allocations: 72.73 kB / 253.5 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.009692, allocations: 63.91 kB / 253.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.01077, allocations: 1.63 MB / 255.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.01084, allocations: 4 kB / 255.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01085, allocations: 12.03 kB / 255.2 MB, free: 3.293 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 8.145e-05/0.01093, allocations: 125.8 kB / 255.3 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.01097, allocations: 15.98 kB / 255.3 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.011, allocations: 25.97 kB / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.011, allocations: 7.984 kB / 255.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.01101, allocations: 7.938 kB / 255.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01102, allocations: 0 / 255.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.01156, allocations: 449.1 kB / 255.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01157, allocations: 3.938 kB / 255.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01171, allocations: 47.95 kB / 255.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01173, allocations: 19.86 kB / 255.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.01187, allocations: 64.73 kB / 255.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01188, allocations: 8 kB / 256 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.01286, allocations: 1.571 MB / 257.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01287, allocations: 4 kB / 257.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.01315, allocations: 309.2 kB / 257.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01317, allocations: 7.938 kB / 257.8 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.01327, allocations: 12 kB / 257.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.01331, allocations: 23.89 kB / 257.9 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01331, allocations: 8.031 kB / 257.9 MB, free: 472 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.01337, allocations: 50.72 kB / 257.9 MB, free: 420 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01337, allocations: 0 / 257.9 MB, free: 420 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.01369, allocations: 80.11 kB / 258 MB, free: 340 kB / 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 7.517e-05/0.01376, allocations: 84.36 kB / 258.1 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01411, allocations: 291.3 kB / 258.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.01412, allocations: 7.984 kB / 258.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.01437, allocations: 227.1 kB / 258.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.0146, allocations: 63.89 kB / 258.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.01691, allocations: 0.5766 MB / 259.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.01698, allocations: 100.2 kB / 259.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.01704, allocations: 18.3 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.01716, allocations: 95.33 kB / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01716, allocations: 0 / 259.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Templates: time 0.006346/0.02351, allocations: 3.741 MB / 263.2 MB, free: 11.12 MB / 266.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 -ignoreHideResult -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.5576613331213593]