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.0009762/0.0009762, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001074/0.001074, allocations: 140.3 kB / 24.97 MB, free: 8.363 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 1.008/1.008, allocations: 173.4 MB / 201.5 MB, free: 9.32 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.683e-06/1.683e-06, allocations: 3.938 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.304e-05, allocations: 6.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002967/0.00299, allocations: 2.796 MB / 270.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.003779, allocations: 0.6075 MB / 271.5 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.003887, allocations: 4 kB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.00403, allocations: 55.5 kB / 271.6 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.004161, allocations: 91.12 kB / 271.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.004335, allocations: 75.83 kB / 271.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.004608, allocations: 370.7 kB / 272.1 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.004799, allocations: 99.83 kB / 272.2 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.004959, allocations: 203.6 kB / 272.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.005099, allocations: 107.6 kB / 272.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.00514, allocations: 32 kB / 272.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.00517, allocations: 32 kB / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.005214, allocations: 71.73 kB / 272.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.005294, allocations: 111.8 kB / 272.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.005531, allocations: 239.1 kB / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.005535, allocations: 0 / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005536, allocations: 0 / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005542, allocations: 0 / 273 MB, free: 1.801 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.0006476/0.006189, allocations: 0.6286 MB / 273.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.006226, allocations: 8.922 kB / 273.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.006301, allocations: 52.75 kB / 273.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.00654, allocations: 212.1 kB / 273.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.00656, allocations: 21.03 kB / 273.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.006597, allocations: 28.38 kB / 273.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.006889, allocations: 254.8 kB / 274.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.0069, allocations: 4.125 kB / 274.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.00692, allocations: 12.38 kB / 274.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.006931, allocations: 11.92 kB / 274.2 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.007091, allocations: 107.8 kB / 274.3 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.008054, allocations: 0.8865 MB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.008314, allocations: 143.1 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.008445, allocations: 95.64 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.008459, allocations: 4 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.008487, allocations: 37.39 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.00849, allocations: 0 / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009285/0.009418, allocations: 0.6002 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.009446, allocations: 59.34 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.009584, allocations: 238.6 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.0096, allocations: 29.7 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.009681, allocations: 219.2 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.009728, allocations: 99.16 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.009786, allocations: 55.64 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.009899, allocations: 0.5001 MB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.009958, allocations: 36.55 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.01004, allocations: 77.58 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.01017, allocations: 123.3 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01017, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002991/0.01047, allocations: 264.9 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01049, allocations: 4 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01049, allocations: 4 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.01071, allocations: 91.53 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01082, allocations: 39.98 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.01224, allocations: 2.372 MB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.0123, allocations: 4.109 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01231, allocations: 11.94 kB / 280.2 MB, free: 10.09 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.535e-05/0.0124, allocations: 168.5 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.01244, allocations: 35.8 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.01247, allocations: 33.98 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01247, allocations: 0 / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.01248, allocations: 4 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01248, allocations: 3.984 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.01308, allocations: 0.626 MB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01308, allocations: 0 / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.01318, allocations: 35.97 kB / 281.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.01333, allocations: 75.56 kB / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01335, allocations: 0 / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.01449, allocations: 2.294 MB / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01449, allocations: 0 / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.01485, allocations: 435.4 kB / 283.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.01487, allocations: 15.86 kB / 284 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01489, allocations: 8.031 kB / 284 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.01497, allocations: 15.98 kB / 284 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.01501, allocations: 15.97 kB / 284 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01502, allocations: 11.98 kB / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.0151, allocations: 172.5 kB / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0151, allocations: 0 / 284.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.01537, allocations: 83.94 kB / 284.3 MB, free: 5.875 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.0001032/0.01547, allocations: 111.2 kB / 284.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.0159, allocations: 377.3 kB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0159, allocations: 0 / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.01613, allocations: 285.3 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01638, allocations: 40.11 kB / 285.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/0.01733, allocations: 0.6534 MB / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.01738, allocations: 96.3 kB / 285.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.01743, allocations: 17.95 kB / 285.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.01747, allocations: 20.5 kB / 285.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01747, allocations: 0 / 285.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of Templates: time 0.005105/0.02257, allocations: 3.324 MB / 289.2 MB, free: 0.9023 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.7936947501730174]