Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 94.48 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 11.47 kB / 300.7 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 50.42 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00273/0.1351, allocations: 2.261 MB / 353.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.1362, allocations: 0.616 MB / 354 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1363, allocations: 4 kB / 354 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.131e-05/0.1364, allocations: 35.69 kB / 354 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.1367, allocations: 99.77 kB / 354.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1369, allocations: 59.88 kB / 354.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.1372, allocations: 236 kB / 354.4 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.1375, allocations: 98.42 kB / 354.5 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1376, allocations: 107.6 kB / 354.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1379, allocations: 123.5 kB / 354.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1379, allocations: 20 kB / 354.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.138, allocations: 16 kB / 354.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.138, allocations: 51.75 kB / 354.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.1381, allocations: 77.58 kB / 354.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1384, allocations: 263.2 kB / 355.2 MB, free: 7.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1384, allocations: 0 / 355.2 MB, free: 7.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1384, allocations: 4 kB / 355.2 MB, free: 7.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1384, allocations: 0 / 355.2 MB, free: 7.695 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.000969/0.1394, allocations: 0.5457 MB / 355.7 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1395, allocations: 15.95 kB / 355.7 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.1396, allocations: 35.58 kB / 355.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1399, allocations: 246.5 kB / 356 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.14, allocations: 20.56 kB / 356 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.14, allocations: 36 kB / 356.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.1405, allocations: 244.8 kB / 356.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1405, allocations: 0 / 356.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.1406, allocations: 16 kB / 356.3 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1406, allocations: 11.95 kB / 356.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.1409, allocations: 186.2 kB / 356.5 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1423, allocations: 1.014 MB / 357.5 MB, free: 5.176 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.1427, allocations: 333.4 kB / 357.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1428, allocations: 4.188 kB / 357.9 MB, free: 4.801 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1428, allocations: 34.73 kB / 357.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.1428, allocations: 0 / 357.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001559/0.1444, allocations: 0.7887 MB / 358.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1444, allocations: 55.41 kB / 358.7 MB, free: 3.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1446, allocations: 198.2 kB / 358.9 MB, free: 3.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1447, allocations: 29.7 kB / 359 MB, free: 3.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1448, allocations: 176.2 kB / 359.1 MB, free: 3.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.1449, allocations: 90.7 kB / 359.2 MB, free: 3.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1449, allocations: 4 kB / 359.2 MB, free: 3.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1451, allocations: 330.8 kB / 359.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1452, allocations: 76.52 kB / 359.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1453, allocations: 102.8 kB / 359.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1455, allocations: 92.44 kB / 359.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1455, allocations: 3.953 kB / 359.8 MB, free: 2.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004908/0.146, allocations: 318.1 kB / 360.1 MB, free: 2.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.146, allocations: 8 kB / 360.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.146, allocations: 0 / 360.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.1463, allocations: 84.8 kB / 360.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1465, allocations: 39.98 kB / 360.3 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.1485, allocations: 1.94 MB / 362.2 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1486, allocations: 8 kB / 362.2 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1486, allocations: 7.984 kB / 362.2 MB, free: 192 kB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.1488, allocations: 145.7 kB / 362.4 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1488, allocations: 23.88 kB / 362.4 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1489, allocations: 25.94 kB / 362.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.149, allocations: 4 kB / 362.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.149, allocations: 7.953 kB / 362.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.149, allocations: 0 / 362.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.15, allocations: 0.7409 MB / 363.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1501, allocations: 0 / 363.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1502, allocations: 39.92 kB / 363.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.1504, allocations: 76.75 kB / 363.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1505, allocations: 15.98 kB / 363.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.152, allocations: 1.816 MB / 365.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.152, allocations: 0 / 365.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.1527, allocations: 464.2 kB / 365.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1527, allocations: 104.9 kB / 365.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1528, allocations: 4 kB / 365.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1529, allocations: 11.98 kB / 365.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.153, allocations: 27.97 kB / 365.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.153, allocations: 8 kB / 365.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1532, allocations: 140.3 kB / 365.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 0 / 365.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000432/0.1536, allocations: 80 kB / 365.9 MB, free: 12.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.1538, allocations: 107.2 kB / 366 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.1545, allocations: 370.4 kB / 366.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1545, allocations: 0 / 366.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.155, allocations: 250.6 kB / 366.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1554, allocations: 40 kB / 366.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1569, allocations: 0.9505 MB / 367.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1575, allocations: 0.7791 MB / 368.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.872e-05/0.1576, allocations: 14.3 kB / 368.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.1576, allocations: 19.44 kB / 368.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1576, allocations: 4 kB / 368.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Templates: time 0.006763/0.1644, allocations: 2.884 MB / 371.3 MB, free: 6.773 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches