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.001845/0.001845, allocations: 89.48 kB / 21.44 MB, free: 276 kB / 14.72 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.002663/0.002663, allocations: 161.2 kB / 24.7 MB, free: 3.531 MB / 14.72 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.374/1.374, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 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.583e-06/1.583e-06, allocations: 0 / 299 MB, free: 8.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.409e-05, allocations: 2.281 kB / 299 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006202/0.006226, allocations: 5.019 MB / 304 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.008599, allocations: 1.177 MB / 305.2 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.009001, allocations: 23.94 kB / 305.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.009353, allocations: 170.3 kB / 305.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.009915, allocations: 293.2 kB / 305.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.01037, allocations: 231.6 kB / 305.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.01154, allocations: 1.11 MB / 307 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.01212, allocations: 375 kB / 307.4 MB, free: 328 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.01285, allocations: 0.6355 MB / 308 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.01335, allocations: 335 kB / 308.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.0135, allocations: 96 kB / 308.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.01366, allocations: 96 kB / 308.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.01386, allocations: 231.1 kB / 308.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.01426, allocations: 359.2 kB / 309.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.01546, allocations: 1.133 MB / 310.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01546, allocations: 4 kB / 310.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01547, allocations: 0 / 310.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.01548, allocations: 0 / 310.2 MB, free: 13.45 MB / 302.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.002008/0.01749, allocations: 1.167 MB / 311.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.01753, allocations: 19.98 kB / 311.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.01769, allocations: 108.3 kB / 311.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.01837, allocations: 404.7 kB / 311.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/0.01844, allocations: 74.38 kB / 312 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.01857, allocations: 88.38 kB / 312.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.02014, allocations: 1.148 MB / 313.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.02016, allocations: 192 / 313.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/0.02025, allocations: 40.38 kB / 313.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.02027, allocations: 27.94 kB / 313.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.02129, allocations: 0.57 MB / 313.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.02557, allocations: 2.547 MB / 316.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.02604, allocations: 262.4 kB / 316.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.02641, allocations: 240.8 kB / 316.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.02644, allocations: 4 kB / 316.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.02647, allocations: 46.5 kB / 317 MB, free: 6.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.424e-06/0.02647, allocations: 0 / 317 MB, free: 6.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001487/0.02796, allocations: 0.5683 MB / 317.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.02801, allocations: 55.41 kB / 317.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.02861, allocations: 0.4977 MB / 318.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.02865, allocations: 33.7 kB / 318.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.02904, allocations: 0.4952 MB / 318.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.02917, allocations: 162.6 kB / 318.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.02937, allocations: 138.6 kB / 318.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.02956, allocations: 362.7 kB / 319.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.02987, allocations: 173.9 kB / 319.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.03042, allocations: 457.3 kB / 319.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/0.03133, allocations: 0.6432 MB / 320.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.03134, allocations: 4 kB / 320.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001325/0.03266, allocations: 0.7599 MB / 321.3 MB, free: 1.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.03269, allocations: 11.98 kB / 321.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.03271, allocations: 12 kB / 321.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.03303, allocations: 80.75 kB / 321.4 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.03373, allocations: 195.7 kB / 321.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1292/0.1629, allocations: 1.849 MB / 323.4 MB, free: 32.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.1635, allocations: 88.86 kB / 323.5 MB, free: 32.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.1635, allocations: 37.47 kB / 323.5 MB, free: 32.61 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.0002716/0.1638, allocations: 210.8 kB / 323.7 MB, free: 32.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.1639, allocations: 64.77 kB / 323.8 MB, free: 32.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.164, allocations: 56.95 kB / 323.9 MB, free: 32.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.164, allocations: 6.828 kB / 323.9 MB, free: 32.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.164, allocations: 1.375 kB / 323.9 MB, free: 32.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.164, allocations: 6.906 kB / 323.9 MB, free: 32.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.1645, allocations: 461 kB / 324.3 MB, free: 32.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1645, allocations: 1.25 kB / 324.3 MB, free: 32.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.165, allocations: 99.45 kB / 324.4 MB, free: 32.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.1652, allocations: 77.08 kB / 324.5 MB, free: 32.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.1652, allocations: 10.27 kB / 324.5 MB, free: 32.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.1666, allocations: 1.832 MB / 326.3 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1666, allocations: 0 / 326.3 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.1674, allocations: 0.662 MB / 327 MB, free: 30.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.1675, allocations: 59.42 kB / 327.1 MB, free: 30.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.1676, allocations: 11.78 kB / 327.1 MB, free: 30.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.168, allocations: 43.56 kB / 327.1 MB, free: 30.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.168, allocations: 37.14 kB / 327.2 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1681, allocations: 13.89 kB / 327.2 MB, free: 30.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.1684, allocations: 325.1 kB / 327.5 MB, free: 30.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1684, allocations: 0 / 327.5 MB, free: 30.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.1692, allocations: 249.8 kB / 327.7 MB, free: 30.34 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.000129/0.1693, allocations: 119.4 kB / 327.8 MB, free: 30.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.1702, allocations: 0.5571 MB / 328.4 MB, free: 29.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1702, allocations: 3.188 kB / 328.4 MB, free: 29.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.1706, allocations: 302.3 kB / 328.7 MB, free: 29.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.1711, allocations: 109.3 kB / 328.8 MB, free: 29.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1732, allocations: 1.299 MB / 330.1 MB, free: 29.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1735, allocations: 339.4 kB / 330.4 MB, free: 28.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.1738, allocations: 63 kB / 330.5 MB, free: 28.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.1739, allocations: 38.34 kB / 330.5 MB, free: 28.9 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1739, allocations: 4 kB / 330.5 MB, free: 28.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01499/0.1889, allocations: 6.705 MB / 337.2 MB, free: 27.14 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] 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.418262284249067]