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.001047/0.001047, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002533, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007549/0.0007549, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009687/0.001724, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9994/0.9994, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.283e-06/1.283e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.88e-05, allocations: 6.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002821/0.002839, allocations: 2.861 MB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.00376, allocations: 0.6735 MB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.003862, allocations: 7.938 kB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.003948, allocations: 51.5 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004087, allocations: 91.14 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.004228, allocations: 75.88 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.00448, allocations: 370.7 kB / 248.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.004637, allocations: 102.5 kB / 248.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.004829, allocations: 220.6 kB / 249.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.004969, allocations: 111.6 kB / 249.3 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.005008, allocations: 32 kB / 249.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.33e-05/0.005042, allocations: 32 kB / 249.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.005077, allocations: 47.81 kB / 249.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.005141, allocations: 95.88 kB / 249.5 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.005349, allocations: 219.2 kB / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.005359, allocations: 0 / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005359, allocations: 0 / 249.7 MB, free: 9.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.005368, allocations: 0 / 249.7 MB, free: 9.215 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.0005427/0.00591, allocations: 0.57 MB / 250.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.005938, allocations: 11.97 kB / 250.3 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.00599, allocations: 48.89 kB / 250.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.006156, allocations: 161.3 kB / 250.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.006171, allocations: 25.03 kB / 250.5 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.006205, allocations: 28.38 kB / 250.5 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.0064, allocations: 238.7 kB / 250.8 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.006408, allocations: 192 / 250.8 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.006425, allocations: 24.36 kB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006432, allocations: 7.938 kB / 250.8 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.006511, allocations: 68.56 kB / 250.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.007214, allocations: 0.704 MB / 251.6 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.007372, allocations: 130.4 kB / 251.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.007447, allocations: 76.83 kB / 251.8 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.007456, allocations: 4 kB / 251.8 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.007477, allocations: 34.56 kB / 251.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 8.41e-07/0.007478, allocations: 0 / 251.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007494/0.008227, allocations: 0.5247 MB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.008254, allocations: 63.28 kB / 252.4 MB, free: 6.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.008363, allocations: 183.9 kB / 252.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.008378, allocations: 29.7 kB / 252.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.008447, allocations: 160.5 kB / 252.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.008496, allocations: 99.19 kB / 252.9 MB, free: 5.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.008543, allocations: 45.94 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.008632, allocations: 334.8 kB / 253.2 MB, free: 5.461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.008665, allocations: 32.55 kB / 253.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.008711, allocations: 50.81 kB / 253.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.008812, allocations: 115 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008814, allocations: 0 / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000195/0.009009, allocations: 182.2 kB / 253.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.009026, allocations: 15.92 kB / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.00903, allocations: 0 / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.009203, allocations: 80.7 kB / 253.7 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.00934, allocations: 55.97 kB / 253.7 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.01041, allocations: 1.633 MB / 255.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.01047, allocations: 8 kB / 255.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.01047, allocations: 4 kB / 255.4 MB, free: 3.188 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.043e-05/0.01055, allocations: 121.8 kB / 255.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.01058, allocations: 24.02 kB / 255.5 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.01061, allocations: 30.06 kB / 255.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01061, allocations: 7.938 kB / 255.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.01062, allocations: 3.938 kB / 255.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01062, allocations: 0 / 255.6 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.01108, allocations: 437.2 kB / 256 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01108, allocations: 3.938 kB / 256 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.0112, allocations: 51.97 kB / 256.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.01121, allocations: 19.86 kB / 256.1 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.01135, allocations: 64.72 kB / 256.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01136, allocations: 8 kB / 256.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008801/0.01224, allocations: 1.571 MB / 257.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.01225, allocations: 4 kB / 257.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.01249, allocations: 313.2 kB / 258 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.01251, allocations: 7.938 kB / 258 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.01257, allocations: 12 kB / 258 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01261, allocations: 27.89 kB / 258.1 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.01262, allocations: 0 / 258.1 MB, free: 368 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.01266, allocations: 62.64 kB / 258.1 MB, free: 304 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01266, allocations: 0 / 258.1 MB, free: 304 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.0129, allocations: 76 kB / 258.2 MB, free: 228 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 8.387e-05/0.01299, allocations: 88.41 kB / 258.3 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.0133, allocations: 287.3 kB / 258.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.01331, allocations: 4 kB / 258.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.01351, allocations: 239.2 kB / 258.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01384, allocations: 0.4914 MB / 259.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.01564, allocations: 0.5724 MB / 259.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.171e-05/0.01571, allocations: 108 kB / 260 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.01577, allocations: 26.28 kB / 260 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01588, allocations: 95.34 kB / 260.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01588, allocations: 0 / 260.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Templates: time 0.00591/0.02179, allocations: 3.917 MB / 264 MB, free: 10.3 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6629765816032887]