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.00128/0.00128, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 63.39 kB / 307.7 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1254, allocations: 50.53 MB / 358.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004873/0.1304, allocations: 2.825 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1319, allocations: 0.6544 MB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1322, allocations: 4 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.1324, allocations: 51.5 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1326, allocations: 91.19 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1329, allocations: 75.84 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.1333, allocations: 343 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.1336, allocations: 139.4 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1338, allocations: 139.5 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.1341, allocations: 151.4 kB / 362.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.1341, allocations: 32 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.1342, allocations: 31.94 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1343, allocations: 67.77 kB / 362.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1344, allocations: 159.2 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.1349, allocations: 359 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1349, allocations: 0 / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1349, allocations: 0 / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1349, allocations: 0 / 363.3 MB, free: 8.926 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.001034/0.1359, allocations: 0.6003 MB / 363.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.136, allocations: 12.03 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.1361, allocations: 36.56 kB / 363.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1364, allocations: 251.8 kB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.1365, allocations: 20.94 kB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.1365, allocations: 32.28 kB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.137, allocations: 253.1 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.137, allocations: 3.938 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.1371, allocations: 12 kB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1371, allocations: 8 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.1375, allocations: 186.2 kB / 364.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1392, allocations: 1.01 MB / 365.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.1397, allocations: 335.7 kB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1399, allocations: 144.8 kB / 366.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.14, allocations: 0 / 366.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.14, allocations: 38.56 kB / 366.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.14, allocations: 0 / 366.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00165/0.1417, allocations: 0.7759 MB / 367 MB, free: 4.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1417, allocations: 55.41 kB / 367 MB, free: 4.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.142, allocations: 194.1 kB / 367.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.142, allocations: 29.7 kB / 367.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1422, allocations: 172.3 kB / 367.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.1422, allocations: 94.64 kB / 367.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.1423, allocations: 45.98 kB / 367.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1425, allocations: 334.8 kB / 367.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1427, allocations: 72.53 kB / 367.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1429, allocations: 107.5 kB / 368 MB, free: 3.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1432, allocations: 177.7 kB / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1432, allocations: 0 / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006013/0.1438, allocations: 322 kB / 368.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1438, allocations: 8 kB / 368.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1439, allocations: 0 / 368.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.1442, allocations: 88.78 kB / 368.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1444, allocations: 47.91 kB / 368.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.1469, allocations: 2.1 MB / 370.8 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.147, allocations: 7.938 kB / 370.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.147, allocations: 12 kB / 370.8 MB, free: 0.9062 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.0001775/0.1472, allocations: 141.2 kB / 370.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1473, allocations: 15.81 kB / 370.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1473, allocations: 29.94 kB / 371 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1474, allocations: 4 kB / 371 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1474, allocations: 3.938 kB / 371 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1474, allocations: 11.92 kB / 371 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1877/0.335, allocations: 0.7369 MB / 371.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3351, allocations: 0.5312 kB / 371.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3353, allocations: 35.88 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.3356, allocations: 78.86 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3356, allocations: 6.594 kB / 371.8 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.3375, allocations: 1.981 MB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3375, allocations: 1.125 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.3382, allocations: 472.3 kB / 374.3 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.3382, allocations: 90.91 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3383, allocations: 5.969 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3384, allocations: 17.56 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.3385, allocations: 23.11 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3385, allocations: 5.688 kB / 374.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3387, allocations: 145.1 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3387, allocations: 0.5312 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.3391, allocations: 83.09 kB / 374.6 MB, free: 18.07 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.000134/0.3393, allocations: 104.5 kB / 374.7 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.34, allocations: 383 kB / 375.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.34, allocations: 0 / 375.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.3404, allocations: 257.5 kB / 375.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3408, allocations: 40.64 kB / 375.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.342, allocations: 0.7959 MB / 376.2 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3423, allocations: 0.7694 MB / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.3424, allocations: 18.84 kB / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3424, allocations: 0 / 377 MB, free: 16.57 MB / 302.1 MB Notification: Performance of Templates: time 0.00775/0.3502, allocations: 4.021 MB / 381 MB, free: 16.27 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 -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.1.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