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.001728/0.001728, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001883, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 64.19 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1359, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004472/0.1404, allocations: 2.836 MB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1416, allocations: 0.6544 MB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1418, allocations: 4 kB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.142, allocations: 47.56 kB / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1422, allocations: 91.12 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1424, allocations: 79.89 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.1429, allocations: 354.9 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.1432, allocations: 139.4 kB / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1433, allocations: 123.6 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1435, allocations: 159.2 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.1436, allocations: 28 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.1437, allocations: 32 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.1437, allocations: 71.75 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1439, allocations: 163.3 kB / 363.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1443, allocations: 358.7 kB / 364 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1443, allocations: 7.938 kB / 364 MB, free: 8.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1443, allocations: 0 / 364 MB, free: 8.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1443, allocations: 0 / 364 MB, free: 8.215 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.0008927/0.1452, allocations: 0.5925 MB / 364.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1452, allocations: 8.031 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1453, allocations: 32.56 kB / 364.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.1457, allocations: 251.9 kB / 364.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1457, allocations: 20.94 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.1458, allocations: 28.28 kB / 364.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.1462, allocations: 261.1 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1462, allocations: 0 / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.1463, allocations: 12 kB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1463, allocations: 8 kB / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1466, allocations: 182.2 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1481, allocations: 1.009 MB / 366.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1485, allocations: 324.9 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.1488, allocations: 158.7 kB / 366.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1488, allocations: 4 kB / 366.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1489, allocations: 30.56 kB / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1489, allocations: 8 kB / 366.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001504/0.1504, allocations: 0.7691 MB / 367.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1504, allocations: 59.41 kB / 367.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1506, allocations: 198.8 kB / 367.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1507, allocations: 29.7 kB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1508, allocations: 168.3 kB / 368.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/0.1509, allocations: 90.59 kB / 368.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.151, allocations: 53.98 kB / 368.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1511, allocations: 330.8 kB / 368.6 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1513, allocations: 72.53 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1514, allocations: 99.64 kB / 368.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1517, allocations: 177.7 kB / 368.9 MB, free: 2.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1517, allocations: 0 / 368.9 MB, free: 2.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005081/0.1522, allocations: 318 kB / 369.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1522, allocations: 4 kB / 369.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1522, allocations: 3.984 kB / 369.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.1525, allocations: 92.69 kB / 369.3 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1527, allocations: 43.98 kB / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.1547, allocations: 2.092 MB / 371.5 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1549, allocations: 11.97 kB / 371.5 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1549, allocations: 8 kB / 371.5 MB, free: 240 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.0001546/0.1551, allocations: 141.7 kB / 371.6 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.1551, allocations: 19.81 kB / 371.6 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1552, allocations: 33.92 kB / 371.7 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1552, allocations: 0 / 371.7 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1552, allocations: 8 kB / 371.7 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1552, allocations: 3.938 kB / 371.7 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2896/0.4448, allocations: 0.7428 MB / 372.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4449, allocations: 1.562 kB / 372.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.4451, allocations: 40.44 kB / 372.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.4454, allocations: 69.08 kB / 372.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4454, allocations: 9.672 kB / 372.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.4471, allocations: 1.982 MB / 374.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4471, allocations: 2 kB / 374.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.4479, allocations: 463 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.4479, allocations: 98.09 kB / 375.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.448, allocations: 10.44 kB / 375.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.4482, allocations: 13.31 kB / 375.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4482, allocations: 21.98 kB / 375.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.4483, allocations: 9.484 kB / 375.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.4484, allocations: 141.5 kB / 375.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4484, allocations: 0 / 375.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000471/0.4489, allocations: 76.31 kB / 375.3 MB, free: 18.06 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.0001376/0.449, allocations: 104.2 kB / 375.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.4498, allocations: 369.7 kB / 375.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4498, allocations: 3.156 kB / 375.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.4502, allocations: 262 kB / 376.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4506, allocations: 38.05 kB / 376.1 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.452, allocations: 0.7634 MB / 376.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.4523, allocations: 0.7667 MB / 377.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.4524, allocations: 18.73 kB / 377.7 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4524, allocations: 18.44 kB / 377.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4524, allocations: 7.5 kB / 377.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of Templates: time 0.008066/0.4605, allocations: 3.211 MB / 380.9 MB, free: 16.24 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 cvode -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