Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 62.95 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004269/0.1189, allocations: 2.832 MB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1201, allocations: 0.6466 MB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1203, allocations: 8 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.1205, allocations: 51.5 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1207, allocations: 87.19 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.121, allocations: 79.78 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.1214, allocations: 346.9 kB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.1216, allocations: 143.4 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1218, allocations: 131.6 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.122, allocations: 151.3 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.1221, allocations: 32 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.1222, allocations: 32 kB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.1222, allocations: 75.7 kB / 363.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1224, allocations: 155.3 kB / 363.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1228, allocations: 358.7 kB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1228, allocations: 4 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1228, allocations: 0 / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1228, allocations: 0 / 364 MB, free: 8.199 MB / 302.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.0009974/0.1238, allocations: 0.5925 MB / 364.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1239, allocations: 12.03 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.124, allocations: 32.56 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.1245, allocations: 251.8 kB / 364.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1245, allocations: 20.94 kB / 364.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.1246, allocations: 44.22 kB / 364.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.125, allocations: 249.2 kB / 365.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.125, allocations: 0 / 365.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.1251, allocations: 12 kB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1251, allocations: 4 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.1254, allocations: 190.1 kB / 365.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.127, allocations: 1.009 MB / 366.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.1274, allocations: 328.9 kB / 366.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1277, allocations: 150.8 kB / 366.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1277, allocations: 0 / 366.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1277, allocations: 42.56 kB / 366.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.1277, allocations: 0 / 366.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001528/0.1293, allocations: 0.773 MB / 367.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1293, allocations: 55.41 kB / 367.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1295, allocations: 191.2 kB / 367.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1296, allocations: 33.7 kB / 368 MB, free: 3.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1297, allocations: 164.3 kB / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.1298, allocations: 94.64 kB / 368.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.1299, allocations: 45.98 kB / 368.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.13, allocations: 334.8 kB / 368.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1302, allocations: 80.53 kB / 368.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1303, allocations: 99.58 kB / 368.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1306, allocations: 181.6 kB / 368.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1307, allocations: 0 / 368.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005281/0.1312, allocations: 325.9 kB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1312, allocations: 8 kB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1312, allocations: 0 / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/0.1315, allocations: 80.81 kB / 369.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1317, allocations: 47.91 kB / 369.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1338, allocations: 2.103 MB / 371.5 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1339, allocations: 7.938 kB / 371.5 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.134, allocations: 12 kB / 371.5 MB, free: 200 kB / 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.0001485/0.1341, allocations: 141.8 kB / 371.6 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1342, allocations: 19.88 kB / 371.7 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1342, allocations: 25.88 kB / 371.7 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1342, allocations: 4 kB / 371.7 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1342, allocations: 0 / 371.7 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2428/0.3771, allocations: 4.719 kB / 371.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.3788, allocations: 0.7456 MB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3789, allocations: 0.75 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3791, allocations: 36.69 kB / 372.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3794, allocations: 74.41 kB / 372.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3794, allocations: 5.984 kB / 372.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.3816, allocations: 1.986 MB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3816, allocations: 0.5625 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.3824, allocations: 466.3 kB / 375 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.3825, allocations: 98.38 kB / 375.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3825, allocations: 8.547 kB / 375.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3827, allocations: 13.05 kB / 375.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.3828, allocations: 17.56 kB / 375.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3828, allocations: 14.86 kB / 375.2 MB, free: 18.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.383, allocations: 137.5 kB / 375.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.383, allocations: 3.375 kB / 375.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.3835, allocations: 78.78 kB / 375.4 MB, free: 18.01 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.0001594/0.3837, allocations: 115.1 kB / 375.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.3845, allocations: 366 kB / 375.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3846, allocations: 1.031 kB / 375.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.3851, allocations: 258.8 kB / 376.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3855, allocations: 41.06 kB / 376.1 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.387, allocations: 0.7616 MB / 376.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3874, allocations: 0.7665 MB / 377.7 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3875, allocations: 24.03 kB / 377.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3876, allocations: 17.5 kB / 377.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3876, allocations: 0 / 377.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of Templates: time 0.00945/0.397, allocations: 3.205 MB / 380.9 MB, free: 16.19 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches