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.001184/0.001184, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001287/0.001288, allocations: 190 kB / 18.07 MB, free: 5.414 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.622/1.622, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001226/0.001226, allocations: 47.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 46.61 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004591/0.1354, allocations: 2.822 MB / 329.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1366, allocations: 0.6398 MB / 330.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1368, allocations: 7.938 kB / 330.1 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.137, allocations: 31.75 kB / 330.1 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1372, allocations: 83.38 kB / 330.2 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1374, allocations: 59.95 kB / 330.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.1378, allocations: 334.9 kB / 330.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.138, allocations: 127.5 kB / 330.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1382, allocations: 131.5 kB / 330.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1384, allocations: 135.4 kB / 330.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.1384, allocations: 24 kB / 331 MB, free: 500 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1385, allocations: 20 kB / 331 MB, free: 480 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.1385, allocations: 63.7 kB / 331 MB, free: 416 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1387, allocations: 151.2 kB / 331.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.139, allocations: 351 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.139, allocations: 0 / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.139, allocations: 0 / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.139, allocations: 3.938 kB / 331.5 MB, free: 15.91 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.0009063/0.1399, allocations: 0.5926 MB / 332.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.14, allocations: 12.03 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.14, allocations: 32.56 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1403, allocations: 255.8 kB / 332.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1403, allocations: 20.94 kB / 332.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.1404, allocations: 24.38 kB / 332.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.1409, allocations: 253.2 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1409, allocations: 7.938 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1409, allocations: 11.98 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1409, allocations: 8 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.1413, allocations: 190.2 kB / 332.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.1428, allocations: 1.017 MB / 333.9 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.1432, allocations: 328.9 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1435, allocations: 140.8 kB / 334.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1435, allocations: 0 / 334.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1435, allocations: 42.56 kB / 334.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 9.32e-07/0.1435, allocations: 0 / 334.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001495/0.145, allocations: 0.769 MB / 335.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1451, allocations: 59.41 kB / 335.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1453, allocations: 190.3 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1453, allocations: 29.7 kB / 335.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1454, allocations: 164.3 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.1455, allocations: 102.6 kB / 335.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.1456, allocations: 45.98 kB / 335.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1457, allocations: 334.8 kB / 336.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1459, allocations: 76.53 kB / 336.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.146, allocations: 102.7 kB / 336.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.1463, allocations: 181.6 kB / 336.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1463, allocations: 0 / 336.5 MB, free: 10.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005084/0.1468, allocations: 322 kB / 336.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1469, allocations: 11.94 kB / 336.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1469, allocations: 80 / 336.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.1472, allocations: 80.81 kB / 336.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1474, allocations: 47.92 kB / 336.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.1493, allocations: 1.893 MB / 338.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1494, allocations: 12.02 kB / 338.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1494, allocations: 8 kB / 338.8 MB, free: 8.117 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.0001356/0.1495, allocations: 145.7 kB / 339 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1496, allocations: 19.72 kB / 339 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.1496, allocations: 29.86 kB / 339 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1497, allocations: 8.062 kB / 339 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1497, allocations: 3.984 kB / 339 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1497, allocations: 0 / 339 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.1507, allocations: 0.7566 MB / 339.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1507, allocations: 0 / 339.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1509, allocations: 39.92 kB / 339.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.1511, allocations: 68.73 kB / 339.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1511, allocations: 8 kB / 339.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.1527, allocations: 1.784 MB / 341.7 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1527, allocations: 8.094 kB / 341.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.1534, allocations: 463.7 kB / 342.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1534, allocations: 92.98 kB / 342.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.1535, allocations: 4.109 kB / 342.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1536, allocations: 23.92 kB / 342.3 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1537, allocations: 23.91 kB / 342.3 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1537, allocations: 4 kB / 342.3 MB, free: 4.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1539, allocations: 148.3 kB / 342.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1539, allocations: 0 / 342.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.1543, allocations: 80 kB / 342.5 MB, free: 4.188 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.0001292/0.1544, allocations: 103.2 kB / 342.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.1551, allocations: 366.6 kB / 343 MB, free: 3.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1551, allocations: 0 / 343 MB, free: 3.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.1555, allocations: 258.9 kB / 343.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1559, allocations: 40 kB / 343.3 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1573, allocations: 0.8806 MB / 344.2 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1577, allocations: 0.7713 MB / 344.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1578, allocations: 18.28 kB / 344.9 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.1579, allocations: 23.44 kB / 345 MB, free: 1.66 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1579, allocations: 0 / 345 MB, free: 1.66 MB / 286.1 MB Notification: Performance of Templates: time 0.006388/0.1643, allocations: 3.026 MB / 348 MB, free: 14.63 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