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.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.00205/0.00205, allocations: 95.53 kB / 21.73 MB, free: 2.691 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.002009/0.002009, allocations: 172.1 kB / 25.03 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 250.4 MB, free: 7.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.159e-05, allocations: 10.31 kB / 250.4 MB, free: 7.883 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008258/0.00829, allocations: 5.522 MB / 255.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.0113, allocations: 1.189 MB / 257.1 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.01201, allocations: 23.94 kB / 257.2 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.01248, allocations: 166.4 kB / 257.3 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.01328, allocations: 301.2 kB / 257.6 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.01382, allocations: 227.6 kB / 257.8 MB, free: 428 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.01523, allocations: 1.106 MB / 258.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006766/0.01591, allocations: 371.1 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.01685, allocations: 0.6432 MB / 259.9 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.01746, allocations: 371 kB / 260.3 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.01762, allocations: 96 kB / 260.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.0178, allocations: 104 kB / 260.5 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.01803, allocations: 223.1 kB / 260.7 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.01877, allocations: 367.2 kB / 261.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.02024, allocations: 1.137 MB / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.02025, allocations: 4 kB / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02025, allocations: 0 / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.02027, allocations: 3.938 kB / 262.2 MB, free: 12 MB / 250.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.002564/0.02283, allocations: 1.341 MB / 263.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.02289, allocations: 11.98 kB / 263.6 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.02321, allocations: 188.3 kB / 263.8 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.02398, allocations: 407.6 kB / 264.2 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.02407, allocations: 70.38 kB / 264.2 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.02422, allocations: 100.4 kB / 264.3 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.02604, allocations: 1.184 MB / 265.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.02606, allocations: 192 / 265.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.02615, allocations: 40.38 kB / 265.5 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.02618, allocations: 27.94 kB / 265.6 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.02728, allocations: 0.5426 MB / 266.1 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005641/0.03292, allocations: 3.075 MB / 269.2 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.03343, allocations: 271.5 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.03382, allocations: 243.9 kB / 269.7 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.03385, allocations: 8 kB / 269.7 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.0339, allocations: 42.08 kB / 269.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 2.204e-06/0.0339, allocations: 0 / 269.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.001671/0.03557, allocations: 0.5703 MB / 270.3 MB, free: 3.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.03563, allocations: 63.41 kB / 270.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.03643, allocations: 0.6155 MB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.03647, allocations: 29.7 kB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.03695, allocations: 0.5642 MB / 271.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.03712, allocations: 170.7 kB / 271.8 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.03736, allocations: 152.2 kB / 271.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.0377, allocations: 0.5586 MB / 272.5 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.03803, allocations: 169.9 kB / 272.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.03874, allocations: 0.5677 MB / 273.2 MB, free: 472 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.03989, allocations: 0.7877 MB / 274 MB, free: 15.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.0399, allocations: 4 kB / 274 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001502/0.0414, allocations: 0.7782 MB / 274.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.04144, allocations: 8 kB / 274.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.04146, allocations: 12 kB / 274.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.04195, allocations: 115.6 kB / 274.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.04293, allocations: 187.7 kB / 275.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.04569, allocations: 2.497 MB / 277.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.04626, allocations: 79.41 kB / 277.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.04632, allocations: 36 kB / 277.7 MB, free: 11.66 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.0004065/0.04673, allocations: 256.3 kB / 277.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.04687, allocations: 75.56 kB / 278 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.047, allocations: 65.19 kB / 278.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.04701, allocations: 8.031 kB / 278.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.04702, allocations: 0 / 278.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.04702, allocations: 7.984 kB / 278.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.04791, allocations: 0.5586 MB / 278.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.04791, allocations: 0 / 278.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.04834, allocations: 95.88 kB / 278.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.04872, allocations: 99.48 kB / 278.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.04875, allocations: 11.98 kB / 278.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.05135, allocations: 2.466 MB / 281.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.05136, allocations: 3.938 kB / 281.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.05257, allocations: 0.7048 MB / 282 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.05272, allocations: 59.53 kB / 282.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.05279, allocations: 12.03 kB / 282.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.05321, allocations: 47.91 kB / 282.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.05356, allocations: 31.88 kB / 282.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.0536, allocations: 12 kB / 282.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005036/0.0541, allocations: 390.8 kB / 282.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0541, allocations: 0 / 282.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008973/0.055, allocations: 255.4 kB / 282.8 MB, free: 6.34 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.0001761/0.05517, allocations: 115.2 kB / 282.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.05645, allocations: 0.6611 MB / 283.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.05646, allocations: 5.938 kB / 283.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.05706, allocations: 377.2 kB / 284 MB, free: 5.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.05766, allocations: 105.9 kB / 284.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.06013, allocations: 1.327 MB / 285.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.06052, allocations: 335.9 kB / 285.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.06078, allocations: 60.94 kB / 285.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.06088, allocations: 48.5 kB / 285.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.06089, allocations: 0 / 285.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Templates: time 0.01563/0.07652, allocations: 6.772 MB / 292.6 MB, free: 12.46 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.681755508063361]