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.001548/0.001548, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.002371, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.02 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005977/0.1306, allocations: 2.87 MB / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.132, allocations: 0.6544 MB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.1323, allocations: 4 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1327, allocations: 35.75 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.133, allocations: 75.38 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1333, allocations: 59.89 kB / 360.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.1337, allocations: 335 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.134, allocations: 127.9 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1341, allocations: 123.5 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1344, allocations: 143.4 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.1345, allocations: 20 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.1345, allocations: 24 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.1346, allocations: 63.69 kB / 361.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1348, allocations: 151.3 kB / 361.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1351, allocations: 347 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1351, allocations: 0 / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1351, allocations: 0 / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1351, allocations: 4 kB / 361.8 MB, free: 9.5 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.0009377/0.1361, allocations: 0.599 MB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1361, allocations: 12.03 kB / 362.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.1362, allocations: 32.56 kB / 362.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1365, allocations: 259.8 kB / 362.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1366, allocations: 16.94 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.1366, allocations: 36.28 kB / 362.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.1371, allocations: 245.2 kB / 363 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1371, allocations: 0 / 363 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1372, allocations: 16 kB / 363 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1372, allocations: 8 kB / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.1375, allocations: 190.1 kB / 363.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1392, allocations: 1.01 MB / 364.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.1396, allocations: 332.9 kB / 364.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.1399, allocations: 140.8 kB / 364.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1399, allocations: 4 kB / 364.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.14, allocations: 42.5 kB / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.14, allocations: 4 kB / 364.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001522/0.1415, allocations: 0.7765 MB / 365.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1415, allocations: 55.41 kB / 365.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1417, allocations: 194.1 kB / 365.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1418, allocations: 33.7 kB / 365.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1419, allocations: 168.3 kB / 365.9 MB, free: 5.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.142, allocations: 90.64 kB / 366 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.1421, allocations: 45.98 kB / 366.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1422, allocations: 338.8 kB / 366.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1424, allocations: 72.53 kB / 366.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1425, allocations: 103.5 kB / 366.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.1428, allocations: 182.2 kB / 366.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1428, allocations: 0 / 366.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005339/0.1434, allocations: 318 kB / 367.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1434, allocations: 4 kB / 367.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1434, allocations: 4.031 kB / 367.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.1437, allocations: 88.75 kB / 367.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.1439, allocations: 51.89 kB / 367.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.146, allocations: 1.889 MB / 369.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1461, allocations: 12.09 kB / 369.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1461, allocations: 8.094 kB / 369.1 MB, free: 1.703 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.0001763/0.1463, allocations: 145.7 kB / 369.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.1464, allocations: 19.81 kB / 369.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.1464, allocations: 29.86 kB / 369.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1465, allocations: 0 / 369.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1465, allocations: 4 kB / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.1465, allocations: 0 / 369.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1476, allocations: 0.745 MB / 370 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1476, allocations: 7.938 kB / 370.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1478, allocations: 36.03 kB / 370.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.148, allocations: 76.73 kB / 370.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.1481, allocations: 8 kB / 370.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2561/0.4041, allocations: 1.787 MB / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4042, allocations: 0 / 372 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.405, allocations: 460.9 kB / 372.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.4051, allocations: 95.28 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4051, allocations: 4.578 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4053, allocations: 15.62 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.4054, allocations: 23.44 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.4054, allocations: 9.609 kB / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4056, allocations: 141.9 kB / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4056, allocations: 2.875 kB / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005394/0.4061, allocations: 80.06 kB / 372.8 MB, free: 18.63 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.0001956/0.4063, allocations: 101.8 kB / 372.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008032/0.4072, allocations: 366.9 kB / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4072, allocations: 0 / 373.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.4076, allocations: 260.7 kB / 373.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.408, allocations: 37.19 kB / 373.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4095, allocations: 0.8876 MB / 374.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4098, allocations: 0.7657 MB / 375.2 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4099, allocations: 17.58 kB / 375.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.4099, allocations: 21.53 kB / 375.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of SimCode: time 9.51e-07/0.41, allocations: 4.844 kB / 375.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of Templates: time 0.008762/0.4187, allocations: 3.04 MB / 378.3 MB, free: 16.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches