Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001085/0.001085, allocations: 192 kB / 18.51 MB, free: 4.508 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.487/1.487, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001303/0.001303, allocations: 43.94 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007588/0.1139, allocations: 5.7 MB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1166, allocations: 1.204 MB / 334.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.1175, allocations: 23.94 kB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.1183, allocations: 166.4 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1194, allocations: 281.4 kB / 334.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.1201, allocations: 219.7 kB / 334.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1216, allocations: 1.056 MB / 335.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.1225, allocations: 0.5142 MB / 336.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.1231, allocations: 410.6 kB / 336.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.1239, allocations: 481.9 kB / 337.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.1241, allocations: 96 kB / 337.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1244, allocations: 100 kB / 337.5 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1246, allocations: 215.3 kB / 337.7 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007098/0.1253, allocations: 0.5054 MB / 338.2 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1264, allocations: 1.09 MB / 339.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1264, allocations: 4 kB / 339.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1264, allocations: 0 / 339.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.201e-05/0.1264, allocations: 0 / 339.3 MB, free: 8.371 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002576/0.129, allocations: 1.236 MB / 340.5 MB, free: 7.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1291, allocations: 8.031 kB / 340.5 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1293, allocations: 107.7 kB / 340.6 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.13, allocations: 455.1 kB / 341.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.1301, allocations: 70.38 kB / 341.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1302, allocations: 100.3 kB / 341.3 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1316, allocations: 0.8677 MB / 342.1 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1317, allocations: 0 / 342.1 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/0.1318, allocations: 40 kB / 342.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.1318, allocations: 28 kB / 342.2 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1329, allocations: 0.5661 MB / 342.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.1377, allocations: 2.968 MB / 345.7 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.1382, allocations: 302.4 kB / 346 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.1386, allocations: 272.5 kB / 346.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1386, allocations: 4 kB / 346.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1387, allocations: 42.56 kB / 346.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.1387, allocations: 0 / 346.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001523/0.1402, allocations: 0.655 MB / 347 MB, free: 396 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1402, allocations: 55.41 kB / 347 MB, free: 328 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.1409, allocations: 0.5102 MB / 347.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.141, allocations: 37.7 kB / 347.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.1413, allocations: 485.6 kB / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1415, allocations: 157.8 kB / 348.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.1417, allocations: 138.5 kB / 348.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1419, allocations: 362.8 kB / 348.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.1422, allocations: 169.9 kB / 348.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.1427, allocations: 461.5 kB / 349.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1434, allocations: 0.644 MB / 350 MB, free: 13.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.1435, allocations: 4 kB / 350 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001269/0.1447, allocations: 0.761 MB / 350.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.1448, allocations: 8.125 kB / 350.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.1448, allocations: 12 kB / 350.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.1451, allocations: 80.81 kB / 350.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.1458, allocations: 191.7 kB / 351 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.1479, allocations: 2.017 MB / 353 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.1485, allocations: 87.06 kB / 353.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.1485, allocations: 36 kB / 353.2 MB, free: 9.762 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0003376/0.1489, allocations: 225.5 kB / 353.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.149, allocations: 59.62 kB / 353.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.1491, allocations: 57.52 kB / 353.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1491, allocations: 4 kB / 353.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.1491, allocations: 7.938 kB / 353.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1491, allocations: 11.92 kB / 353.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.15, allocations: 0.6414 MB / 354.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.15, allocations: 0 / 354.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.1504, allocations: 103.9 kB / 354.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.1506, allocations: 68.8 kB / 354.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1507, allocations: 8 kB / 354.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.1524, allocations: 1.979 MB / 356.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1524, allocations: 3.984 kB / 356.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.1534, allocations: 0.6658 MB / 357 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.1536, allocations: 144.3 kB / 357.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.1537, allocations: 8 kB / 357.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.1541, allocations: 44.25 kB / 357.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.1542, allocations: 27.97 kB / 357.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.1542, allocations: 11.98 kB / 357.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003847/0.1546, allocations: 354.8 kB / 357.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 357.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008241/0.1555, allocations: 247.1 kB / 357.8 MB, free: 4.875 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001701/0.1556, allocations: 115.2 kB / 357.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1568, allocations: 0.6049 MB / 358.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1569, allocations: 256 / 358.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.1573, allocations: 322.4 kB / 358.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.158, allocations: 118.3 kB / 358.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.1606, allocations: 1.414 MB / 360.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1612, allocations: 0.9259 MB / 361.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.1615, allocations: 69.22 kB / 361.4 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.1616, allocations: 39.44 kB / 361.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1616, allocations: 0 / 361.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of Templates: time 0.01552/0.1771, allocations: 7.173 MB / 368.6 MB, free: 10.02 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches