Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9889/0.9889, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.364e-05, allocations: 6.25 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005319/0.005353, allocations: 5.665 MB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.007696, allocations: 1.145 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.008323, allocations: 27.88 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.008719, allocations: 166.4 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006782/0.009397, allocations: 293.2 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.009942, allocations: 235.6 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.01131, allocations: 1.102 MB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.01187, allocations: 383 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.01255, allocations: 0.6355 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.01297, allocations: 374.9 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.0131, allocations: 96 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.01321, allocations: 100 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.01334, allocations: 231.1 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.01364, allocations: 359.2 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.01434, allocations: 0.7161 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.01434, allocations: 4 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01434, allocations: 0 / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.01436, allocations: 0 / 279.5 MB, free: 10.84 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.001372/0.01573, allocations: 1.287 MB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.01578, allocations: 8.922 kB / 280.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.01596, allocations: 180.3 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.01641, allocations: 407.6 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.01645, allocations: 66.38 kB / 281.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.01654, allocations: 108.3 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.01742, allocations: 0.9895 MB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.01744, allocations: 192 / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.01749, allocations: 44.38 kB / 282.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.01751, allocations: 27.94 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.01798, allocations: 347.6 kB / 283 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.02064, allocations: 2.778 MB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.02091, allocations: 222.7 kB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.02111, allocations: 184.1 kB / 286.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.02113, allocations: 8 kB / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.02116, allocations: 45.39 kB / 286.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.02116, allocations: 0 / 286.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008371/0.02199, allocations: 476.6 kB / 286.7 MB, free: 3.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.02202, allocations: 67.39 kB / 286.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.02238, allocations: 0.5061 MB / 287.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.02241, allocations: 41.7 kB / 287.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.02263, allocations: 0.5408 MB / 287.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.02271, allocations: 158.6 kB / 288 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.02283, allocations: 144.2 kB / 288.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.02297, allocations: 0.5352 MB / 288.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.0231, allocations: 93.94 kB / 288.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.02341, allocations: 0.4897 MB / 289.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1255/0.1489, allocations: 0.6395 MB / 289.9 MB, free: 29.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/0.1489, allocations: 2.719 kB / 289.9 MB, free: 29.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001217/0.1501, allocations: 0.6526 MB / 290.5 MB, free: 29.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.1502, allocations: 9.266 kB / 290.5 MB, free: 29.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.1502, allocations: 11.91 kB / 290.5 MB, free: 29.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.1505, allocations: 91.48 kB / 290.6 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.1509, allocations: 194.8 kB / 290.8 MB, free: 29.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1522, allocations: 2.304 MB / 293.1 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.1526, allocations: 88.14 kB / 293.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.1526, allocations: 36.78 kB / 293.2 MB, free: 27.84 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.0001912/0.1528, allocations: 209 kB / 293.4 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.1529, allocations: 67.28 kB / 293.5 MB, free: 27.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.153, allocations: 63.88 kB / 293.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.153, allocations: 4.312 kB / 293.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.153, allocations: 2.156 kB / 293.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.153, allocations: 6.938 kB / 293.6 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.1535, allocations: 457.1 kB / 294 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1535, allocations: 0 / 294 MB, free: 27.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1537, allocations: 97.12 kB / 294.1 MB, free: 27.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.1539, allocations: 86.64 kB / 294.2 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.154, allocations: 14.22 kB / 294.2 MB, free: 27.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.155, allocations: 2.285 MB / 296.5 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.155, allocations: 1.719 kB / 296.5 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.1557, allocations: 0.5629 MB / 297.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1558, allocations: 59.64 kB / 297.1 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.1559, allocations: 13.59 kB / 297.2 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1562, allocations: 45.45 kB / 297.2 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1563, allocations: 29.97 kB / 297.2 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1564, allocations: 18.02 kB / 297.2 MB, free: 25.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.1567, allocations: 326.1 kB / 297.6 MB, free: 25.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1567, allocations: 1.312 kB / 297.6 MB, free: 25.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009383/0.1576, allocations: 250.3 kB / 297.8 MB, free: 25.08 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.0001641/0.1578, allocations: 112.7 kB / 297.9 MB, free: 24.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009664/0.1588, allocations: 0.5523 MB / 298.5 MB, free: 24.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1588, allocations: 0 / 298.5 MB, free: 24.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.1592, allocations: 345.6 kB / 298.8 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.1597, allocations: 100.6 kB / 298.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.162, allocations: 1.275 MB / 300.2 MB, free: 23.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.1622, allocations: 147.8 kB / 300.3 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.1625, allocations: 63.88 kB / 300.4 MB, free: 23.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.1626, allocations: 38.72 kB / 300.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.754e-06/0.1626, allocations: 0 / 300.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01466/0.1773, allocations: 7.144 MB / 307.6 MB, free: 21.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.913322737906128]