Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.529e-05, allocations: 2.312 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008257/0.008293, allocations: 5.094 MB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.01147, allocations: 1.165 MB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009531/0.01243, allocations: 27.94 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008122/0.01324, allocations: 170.3 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.01463, allocations: 293.2 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.01548, allocations: 227.6 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.01734, allocations: 1.106 MB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008869/0.01822, allocations: 386.9 kB / 280.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.01951, allocations: 0.6355 MB / 281.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008196/0.02033, allocations: 339 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.0206, allocations: 100 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.02093, allocations: 96 kB / 282 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.02121, allocations: 223.1 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007081/0.02192, allocations: 363.2 kB / 282.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.02378, allocations: 1.133 MB / 283.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.02379, allocations: 4 kB / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02379, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/0.02384, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 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.002542/0.02638, allocations: 1.167 MB / 284.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.02643, allocations: 12.03 kB / 284.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.02674, allocations: 184.3 kB / 285 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.02755, allocations: 408.8 kB / 285.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.02762, allocations: 74.36 kB / 285.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.02778, allocations: 100.4 kB / 285.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.02961, allocations: 1.144 MB / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.02963, allocations: 192 / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.02972, allocations: 44.38 kB / 286.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.02975, allocations: 27.94 kB / 286.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.03089, allocations: 0.566 MB / 287.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/0.1529, allocations: 2.581 MB / 290 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.1534, allocations: 260.4 kB / 290.2 MB, free: 27.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.1537, allocations: 228.3 kB / 290.5 MB, free: 27.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1538, allocations: 7.469 kB / 290.5 MB, free: 27.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1538, allocations: 40.56 kB / 290.5 MB, free: 27.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.275e-06/0.1538, allocations: 0 / 290.5 MB, free: 27.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001543/0.1553, allocations: 0.5802 MB / 291.1 MB, free: 27.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1554, allocations: 60.59 kB / 291.1 MB, free: 27.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.1559, allocations: 0.4953 MB / 291.6 MB, free: 27.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.156, allocations: 40.8 kB / 291.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.1562, allocations: 0.4911 MB / 292.2 MB, free: 27.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.1563, allocations: 163.5 kB / 292.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.1564, allocations: 138.1 kB / 292.5 MB, free: 27.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.1565, allocations: 362.1 kB / 292.8 MB, free: 26.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.1568, allocations: 171.7 kB / 293 MB, free: 26.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.1572, allocations: 456 kB / 293.4 MB, free: 26.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.1578, allocations: 0.6501 MB / 294.1 MB, free: 25.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1578, allocations: 2.156 kB / 294.1 MB, free: 25.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001179/0.159, allocations: 0.7863 MB / 294.9 MB, free: 25.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.159, allocations: 12.66 kB / 294.9 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.159, allocations: 10.14 kB / 294.9 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.1595, allocations: 101.4 kB / 295 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.1601, allocations: 197.5 kB / 295.2 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.1617, allocations: 1.876 MB / 297.1 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.1622, allocations: 84.55 kB / 297.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.1622, allocations: 36.16 kB / 297.2 MB, free: 23.78 MB / 266.7 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.0002466/0.1624, allocations: 215.4 kB / 297.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1625, allocations: 72.09 kB / 297.5 MB, free: 23.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/0.1626, allocations: 71.69 kB / 297.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1626, allocations: 3.969 kB / 297.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.1627, allocations: 3.406 kB / 297.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1627, allocations: 3.328 kB / 297.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.1633, allocations: 453.1 kB / 298 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1633, allocations: 0 / 298 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.1637, allocations: 100.1 kB / 298.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.164, allocations: 91.33 kB / 298.2 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.164, allocations: 7.859 kB / 298.2 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.1654, allocations: 1.862 MB / 300 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1654, allocations: 0.7031 kB / 300 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.1664, allocations: 0.6632 MB / 300.7 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.1665, allocations: 62.08 kB / 300.8 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.1665, allocations: 11.56 kB / 300.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.1669, allocations: 49.55 kB / 300.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.167, allocations: 29.33 kB / 300.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.167, allocations: 12.84 kB / 300.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.1674, allocations: 324.2 kB / 301.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1674, allocations: 0 / 301.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000831/0.1682, allocations: 253.1 kB / 301.4 MB, free: 20.98 MB / 266.7 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.000119/0.1683, allocations: 116.1 kB / 301.5 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1694, allocations: 0.5651 MB / 302.1 MB, free: 20.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1694, allocations: 1.188 kB / 302.1 MB, free: 20.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.1698, allocations: 302.7 kB / 302.4 MB, free: 20.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.1703, allocations: 102.2 kB / 302.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1723, allocations: 1.317 MB / 303.8 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1727, allocations: 335.2 kB / 304.1 MB, free: 19.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.173, allocations: 65.75 kB / 304.2 MB, free: 19.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1731, allocations: 38.88 kB / 304.2 MB, free: 19.46 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1731, allocations: 0 / 304.2 MB, free: 19.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01133/0.1844, allocations: 6.746 MB / 311 MB, free: 15.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.636010713991709]