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.001631/0.001631, allocations: 89.02 kB / 21.44 MB, free: 276 kB / 14.72 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.001844/0.001844, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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.43/1.43, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.633e-06/1.633e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.953e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004216/0.004246, allocations: 2.567 MB / 301.5 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.00558, allocations: 0.628 MB / 302.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.005868, allocations: 7.938 kB / 302.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.006132, allocations: 47.56 kB / 302.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.006561, allocations: 107 kB / 302.3 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.006881, allocations: 71.89 kB / 302.4 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.007425, allocations: 370.7 kB / 302.7 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.007666, allocations: 87.84 kB / 302.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.007991, allocations: 207.5 kB / 303 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.008225, allocations: 107.7 kB / 303.1 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.00829, allocations: 32 kB / 303.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.008353, allocations: 35.94 kB / 303.2 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.008424, allocations: 71.73 kB / 303.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.008577, allocations: 111.8 kB / 303.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.009043, allocations: 370.8 kB / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.009047, allocations: 0 / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009049, allocations: 0 / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.009062, allocations: 0 / 303.7 MB, free: 3.887 MB / 286.1 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.0009817/0.01004, allocations: 0.5326 MB / 304.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01009, allocations: 15.98 kB / 304.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.01016, allocations: 36.7 kB / 304.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.01053, allocations: 193.3 kB / 304.5 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.01056, allocations: 17.03 kB / 304.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01061, allocations: 40.31 kB / 304.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.01116, allocations: 306 kB / 304.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01118, allocations: 192 / 304.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.01121, allocations: 12.38 kB / 304.9 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.01123, allocations: 11.94 kB / 304.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.0116, allocations: 182.5 kB / 305.1 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01322, allocations: 0.856 MB / 305.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.01361, allocations: 165.2 kB / 306.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.01384, allocations: 124.8 kB / 306.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01386, allocations: 4 kB / 306.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.01389, allocations: 38.5 kB / 306.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.01389, allocations: 4 kB / 306.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001556/0.01545, allocations: 0.6971 MB / 307 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.01548, allocations: 55.34 kB / 307 MB, free: 436 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.0157, allocations: 187.6 kB / 307.2 MB, free: 236 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.01573, allocations: 33.64 kB / 307.2 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01586, allocations: 172.5 kB / 307.4 MB, free: 20 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.01596, allocations: 99.39 kB / 307.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.01605, allocations: 45.98 kB / 307.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.01621, allocations: 334.8 kB / 307.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.01636, allocations: 68.53 kB / 307.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01653, allocations: 106.8 kB / 308 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.01685, allocations: 177.7 kB / 308.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01685, allocations: 0 / 308.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005677/0.01742, allocations: 313.9 kB / 308.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01744, allocations: 8 kB / 308.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01744, allocations: 4.031 kB / 308.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.01773, allocations: 96.66 kB / 308.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.01792, allocations: 43.98 kB / 308.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.02038, allocations: 1.946 MB / 310.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.02053, allocations: 4 kB / 310.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.02056, allocations: 12 kB / 310.6 MB, free: 12.64 MB / 302.1 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.0002217/0.02079, allocations: 141.7 kB / 310.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.02085, allocations: 19.86 kB / 310.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.0209, allocations: 29.95 kB / 310.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.0209, allocations: 8.062 kB / 310.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.02091, allocations: 0 / 310.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02092, allocations: 4 kB / 310.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.02203, allocations: 0.6274 MB / 311.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02204, allocations: 0 / 311.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.02223, allocations: 39.92 kB / 311.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.02246, allocations: 72.8 kB / 311.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.02248, allocations: 8 kB / 311.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.02449, allocations: 1.849 MB / 313.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02449, allocations: 0 / 313.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.02525, allocations: 476.2 kB / 313.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.02529, allocations: 19.86 kB / 313.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.02532, allocations: 4.062 kB / 313.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.02549, allocations: 15.98 kB / 313.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.02556, allocations: 24.02 kB / 313.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.02559, allocations: 8 kB / 314 MB, free: 9.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.02573, allocations: 149 kB / 314.1 MB, free: 9 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02573, allocations: 0 / 314.1 MB, free: 9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.02619, allocations: 80 kB / 314.2 MB, free: 8.922 MB / 302.1 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.0001611/0.02635, allocations: 99.25 kB / 314.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.02714, allocations: 350.4 kB / 314.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.02714, allocations: 0 / 314.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.02768, allocations: 250.4 kB / 314.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.02803, allocations: 36.12 kB / 314.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.02931, allocations: 0.6512 MB / 315.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.0295, allocations: 154.9 kB / 315.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.871e-05/0.02959, allocations: 25.94 kB / 315.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.02964, allocations: 16.5 kB / 315.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of SimCode: time 7.72e-07/0.02964, allocations: 0 / 315.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of Templates: time 0.008206/0.03785, allocations: 3.291 MB / 319 MB, free: 3.98 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.360370613634586]