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.001575/0.001575, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001864/0.001864, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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 1.015/1.015, allocations: 173.4 MB / 201.1 MB, free: 9.359 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 2.324e-06/2.324e-06, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.518e-05, allocations: 2.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004436/0.004471, allocations: 2.819 MB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005854, allocations: 0.6075 MB / 271.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.006069, allocations: 4 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.006264, allocations: 51.5 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.006564, allocations: 99.06 kB / 271.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.006856, allocations: 75.89 kB / 271.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.0074, allocations: 366.7 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.007722, allocations: 99.83 kB / 272.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.008106, allocations: 203.6 kB / 272.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.008361, allocations: 107.7 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.008417, allocations: 28 kB / 272.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.008472, allocations: 32 kB / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.008535, allocations: 71.73 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.008703, allocations: 119.7 kB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.009079, allocations: 239.1 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.009085, allocations: 0 / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.009087, allocations: 0 / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.009097, allocations: 4 kB / 272.9 MB, free: 1.527 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.0009031/0.01, allocations: 0.6208 MB / 273.5 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.01004, allocations: 8.922 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.01015, allocations: 56.75 kB / 273.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.01044, allocations: 208.1 kB / 273.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01047, allocations: 21.03 kB / 273.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.01052, allocations: 28.38 kB / 273.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.01093, allocations: 250.8 kB / 274.1 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01094, allocations: 4.125 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01097, allocations: 12.38 kB / 274.1 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.01098, allocations: 15.94 kB / 274.1 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.01119, allocations: 99.86 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01254, allocations: 0.8904 MB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.01286, allocations: 139.2 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.01303, allocations: 99.58 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.01305, allocations: 4 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.01308, allocations: 37.39 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.01308, allocations: 4 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.00124/0.01432, allocations: 0.5973 MB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.01436, allocations: 59.34 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01456, allocations: 230.7 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01459, allocations: 29.7 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01472, allocations: 227.2 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.0148, allocations: 103.2 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/0.01488, allocations: 51.64 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.01504, allocations: 0.504 MB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.01513, allocations: 36.55 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.01525, allocations: 73.58 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01545, allocations: 127.3 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01545, allocations: 0 / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004516/0.0159, allocations: 264.9 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.01592, allocations: 8 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01592, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/0.01624, allocations: 79.62 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.0164, allocations: 51.92 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.01842, allocations: 2.368 MB / 280.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01853, allocations: 8 kB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.01855, allocations: 12.03 kB / 280.2 MB, free: 9.82 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 0.000134/0.01868, allocations: 164.6 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.01875, allocations: 35.8 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.01878, allocations: 29.95 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01879, allocations: 4 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.01879, allocations: 0 / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.0188, allocations: 0 / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.01972, allocations: 0.6298 MB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01972, allocations: 0 / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.01988, allocations: 39.97 kB / 281.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.02012, allocations: 67.62 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.02014, allocations: 8 kB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.02192, allocations: 2.286 MB / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02192, allocations: 3.938 kB / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.02248, allocations: 435.5 kB / 283.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.02252, allocations: 15.86 kB / 283.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.02255, allocations: 8 kB / 283.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.02268, allocations: 11.98 kB / 283.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.02276, allocations: 23.91 kB / 283.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.02277, allocations: 4 kB / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.0229, allocations: 180.5 kB / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0229, allocations: 4 kB / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.02341, allocations: 79.94 kB / 284.2 MB, free: 5.609 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 0.0001344/0.02355, allocations: 99.25 kB / 284.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.02417, allocations: 377.3 kB / 284.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02417, allocations: 0 / 284.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.02453, allocations: 301.3 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.02492, allocations: 32.05 kB / 285 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.0263, allocations: 0.6533 MB / 285.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.555e-05/0.02638, allocations: 96.3 kB / 285.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.02647, allocations: 17.95 kB / 285.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.02652, allocations: 16.5 kB / 285.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02652, allocations: 0 / 285.8 MB, free: 3.938 MB / 266.7 MB Notification: Performance of Templates: time 0.006638/0.03316, allocations: 3.48 MB / 289.2 MB, free: 0.4922 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] 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","",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.965681633912027]