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.001876/0.001876, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001875/0.001875, allocations: 149.1 kB / 24.26 MB, free: 172 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 1.526/1.526, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 0 / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.4e-05, allocations: 6.25 kB / 267.4 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.009148/0.009182, allocations: 5.587 MB / 273 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.01194, allocations: 1.165 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.01275, allocations: 23.94 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.01338, allocations: 170.2 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01443, allocations: 297.2 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.01513, allocations: 219.7 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.01689, allocations: 1.102 MB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.0176, allocations: 387 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.01857, allocations: 0.6277 MB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.01918, allocations: 378.9 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.01934, allocations: 100 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.01952, allocations: 96 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.01974, allocations: 227.1 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.02019, allocations: 367.2 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.02158, allocations: 1.141 MB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.02158, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02158, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.0216, allocations: 0 / 279.2 MB, free: 10.77 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.002424/0.02402, allocations: 1.337 MB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.02406, allocations: 12.92 kB / 280.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.02436, allocations: 180.3 kB / 280.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.02506, allocations: 411.7 kB / 281.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.02513, allocations: 66.38 kB / 281.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.02528, allocations: 108.3 kB / 281.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.02699, allocations: 1.18 MB / 282.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.02701, allocations: 192 / 282.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.0271, allocations: 40.38 kB / 282.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.02713, allocations: 27.94 kB / 282.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.02819, allocations: 0.5504 MB / 283.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005039/0.03323, allocations: 3.059 MB / 286.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.03373, allocations: 286.7 kB / 286.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.0341, allocations: 224.1 kB / 286.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.03414, allocations: 8 kB / 286.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.03418, allocations: 45.39 kB / 286.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.03418, allocations: 0 / 286.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001553/0.03573, allocations: 0.5826 MB / 287.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.03578, allocations: 55.41 kB / 287.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.03652, allocations: 0.6194 MB / 288 MB, free: 1.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.03657, allocations: 37.7 kB / 288 MB, free: 1.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.03702, allocations: 0.5565 MB / 288.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.03719, allocations: 170.6 kB / 288.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.03741, allocations: 156.2 kB / 288.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/0.03775, allocations: 0.5625 MB / 289.5 MB, free: 152 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1104/0.1482, allocations: 156 kB / 289.6 MB, free: 31.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.1487, allocations: 0.5606 MB / 290.2 MB, free: 31.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.1494, allocations: 0.7967 MB / 291 MB, free: 30.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1494, allocations: 2.438 kB / 291 MB, free: 30.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001204/0.1506, allocations: 0.7805 MB / 291.7 MB, free: 30.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1506, allocations: 9.156 kB / 291.8 MB, free: 30.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1506, allocations: 9.875 kB / 291.8 MB, free: 30.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1511, allocations: 103 kB / 291.9 MB, free: 30.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.1517, allocations: 196.6 kB / 292.1 MB, free: 30.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.1533, allocations: 2.483 MB / 294.5 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.1538, allocations: 83.55 kB / 294.6 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1539, allocations: 34.97 kB / 294.7 MB, free: 28.62 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.0002575/0.1541, allocations: 261.2 kB / 294.9 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1542, allocations: 73.83 kB / 295 MB, free: 28.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.1543, allocations: 60.2 kB / 295 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1543, allocations: 11.94 kB / 295.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1544, allocations: 2.375 kB / 295.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1544, allocations: 2.109 kB / 295.1 MB, free: 28.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.155, allocations: 0.5667 MB / 295.6 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.155, allocations: 5.828 kB / 295.6 MB, free: 28.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.1554, allocations: 93.95 kB / 295.7 MB, free: 28.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.1558, allocations: 99.11 kB / 295.8 MB, free: 28.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1558, allocations: 7.656 kB / 295.8 MB, free: 28.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.1573, allocations: 2.467 MB / 298.3 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1573, allocations: 0 / 298.3 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.1582, allocations: 0.7105 MB / 299 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1583, allocations: 62.59 kB / 299.1 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.1583, allocations: 6.094 kB / 299.1 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.1587, allocations: 49.25 kB / 299.1 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.1588, allocations: 26.89 kB / 299.1 MB, free: 25.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.1589, allocations: 17.33 kB / 299.2 MB, free: 25.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000376/0.1592, allocations: 386.5 kB / 299.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1592, allocations: 0 / 299.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008382/0.1601, allocations: 255.8 kB / 299.8 MB, free: 25.18 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.000125/0.1602, allocations: 112 kB / 299.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1612, allocations: 0.6656 MB / 300.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1612, allocations: 1.188 kB / 300.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1617, allocations: 385.2 kB / 300.9 MB, free: 24.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.1622, allocations: 102.7 kB / 301 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1641, allocations: 1.316 MB / 302.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1644, allocations: 341.9 kB / 302.7 MB, free: 23.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.1647, allocations: 64.86 kB / 302.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.1647, allocations: 37.97 kB / 302.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1647, allocations: 0 / 302.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01419/0.1789, allocations: 6.793 MB / 309.6 MB, free: 20.19 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.773794922046363]