Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001335/0.001335, allocations: 114.5 kB / 17.28 MB, free: 6.219 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.001455/0.001455, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 48.16 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1145, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004208/0.1188, allocations: 2.819 MB / 329.6 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1198, allocations: 0.6436 MB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.12, allocations: 4 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1202, allocations: 35.75 kB / 330.3 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1204, allocations: 79.38 kB / 330.4 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1206, allocations: 71.88 kB / 330.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1209, allocations: 347 kB / 330.8 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.1212, allocations: 147.1 kB / 330.9 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1213, allocations: 127.5 kB / 331 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1216, allocations: 147.4 kB / 331.2 MB, free: 376 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1216, allocations: 32 kB / 331.2 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.1217, allocations: 32 kB / 331.2 MB, free: 312 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1217, allocations: 79.67 kB / 331.3 MB, free: 232 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.1219, allocations: 159.3 kB / 331.5 MB, free: 72 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1223, allocations: 351 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1223, allocations: 3.984 kB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1223, allocations: 0 / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1223, allocations: 0 / 331.8 MB, free: 15.72 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.0009007/0.1232, allocations: 0.5886 MB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1233, allocations: 11.97 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.1233, allocations: 32.56 kB / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1236, allocations: 259.8 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1237, allocations: 24.94 kB / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.1237, allocations: 24.38 kB / 332.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.1242, allocations: 253.2 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1242, allocations: 0 / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1242, allocations: 15.94 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1242, allocations: 8 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1245, allocations: 182.2 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.126, allocations: 1.021 MB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1264, allocations: 332.8 kB / 334.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.1266, allocations: 144.8 kB / 334.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1266, allocations: 0 / 334.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1266, allocations: 34.56 kB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 9.21e-07/0.1267, allocations: 0 / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001378/0.128, allocations: 0.7726 MB / 335.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1281, allocations: 55.41 kB / 335.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1283, allocations: 190.3 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1283, allocations: 29.7 kB / 335.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1284, allocations: 168.3 kB / 335.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1285, allocations: 98.62 kB / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.1286, allocations: 50 kB / 336.1 MB, free: 11.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1287, allocations: 334.8 kB / 336.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1288, allocations: 68.53 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.129, allocations: 106.7 kB / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1292, allocations: 185.6 kB / 336.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1292, allocations: 0 / 336.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004557/0.1297, allocations: 314 kB / 337.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1297, allocations: 4 kB / 337.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1297, allocations: 4 kB / 337.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.13, allocations: 92.77 kB / 337.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1302, allocations: 51.92 kB / 337.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.1321, allocations: 2.084 MB / 339.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1322, allocations: 11.97 kB / 339.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1322, allocations: 12 kB / 339.3 MB, free: 7.723 MB / 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 (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.0001233/0.1323, allocations: 129.8 kB / 339.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1324, allocations: 23.72 kB / 339.5 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1324, allocations: 29.92 kB / 339.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1325, allocations: 8 kB / 339.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1325, allocations: 0 / 339.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1325, allocations: 3.938 kB / 339.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009486/0.1334, allocations: 0.7605 MB / 340.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1334, allocations: 0 / 340.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1336, allocations: 35.98 kB / 340.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.1338, allocations: 72.73 kB / 340.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1338, allocations: 4 kB / 340.4 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.1361, allocations: 1.995 MB / 342.4 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1361, allocations: 0 / 342.4 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.1369, allocations: 460 kB / 342.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.137, allocations: 92.92 kB / 342.9 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.1371, allocations: 8.062 kB / 342.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1373, allocations: 15.98 kB / 342.9 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.1374, allocations: 23.91 kB / 343 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1375, allocations: 4.109 kB / 343 MB, free: 3.828 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1376, allocations: 152.2 kB / 343.1 MB, free: 3.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1376, allocations: 4 kB / 343.1 MB, free: 3.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006666/0.1383, allocations: 76 kB / 343.2 MB, free: 3.602 MB / 286.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.0001972/0.1385, allocations: 103.2 kB / 343.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009517/0.1395, allocations: 370.6 kB / 343.6 MB, free: 3.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1395, allocations: 4.062 kB / 343.7 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.1401, allocations: 254.9 kB / 343.9 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.1408, allocations: 51.55 kB / 344 MB, free: 2.805 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1428, allocations: 0.8798 MB / 344.8 MB, free: 1.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1432, allocations: 0.7713 MB / 345.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1434, allocations: 22.3 kB / 345.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1435, allocations: 15.44 kB / 345.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1435, allocations: 0 / 345.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of Templates: time 0.009094/0.1526, allocations: 3.18 MB / 348.8 MB, free: 13.88 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches