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.001292/0.001292, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 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.001372/0.001372, allocations: 204.4 kB / 24.48 MB, free: 3.695 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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 0.001576/0.001576, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.009434/0.3048, allocations: 5.093 MB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.3082, allocations: 1.172 MB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.3087, allocations: 23.94 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.3092, allocations: 170.3 kB / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.31, allocations: 277.6 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.3107, allocations: 231.6 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.3123, allocations: 1.056 MB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008816/0.3132, allocations: 409.8 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.3139, allocations: 430.6 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.3148, allocations: 469.9 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.315, allocations: 100 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3152, allocations: 96 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3155, allocations: 227.2 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.3161, allocations: 430.2 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.3178, allocations: 1.116 MB / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3178, allocations: 0 / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3178, allocations: 0 / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.3178, allocations: 0 / 443.6 MB, free: 11.42 MB / 350.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.002869/0.3207, allocations: 1.187 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3208, allocations: 12.03 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.321, allocations: 108.3 kB / 444.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.322, allocations: 401.4 kB / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/0.3221, allocations: 74.38 kB / 445.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.3223, allocations: 92.38 kB / 445.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.3247, allocations: 1.156 MB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.3247, allocations: 0 / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.3248, allocations: 40 kB / 446.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.3248, allocations: 24 kB / 446.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3261, allocations: 0.5661 MB / 447.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/0.3327, allocations: 2.549 MB / 449.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3332, allocations: 265.6 kB / 450.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.3338, allocations: 225.2 kB / 450.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3338, allocations: 8 kB / 450.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/0.3339, allocations: 46.48 kB / 450.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.427e-06/0.3339, allocations: 0 / 450.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002276/0.3362, allocations: 0.5721 MB / 450.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3362, allocations: 55.41 kB / 451 MB, free: 3.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3372, allocations: 0.4976 MB / 451.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.3373, allocations: 33.7 kB / 451.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/0.3378, allocations: 0.4952 MB / 452 MB, free: 2.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.3381, allocations: 166.6 kB / 452.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.3384, allocations: 142.6 kB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.3386, allocations: 362.7 kB / 452.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.3392, allocations: 169.9 kB / 452.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.34, allocations: 453.5 kB / 453.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3414, allocations: 0.6508 MB / 453.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3414, allocations: 0 / 453.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002073/0.3435, allocations: 0.7559 MB / 454.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.3435, allocations: 12 kB / 454.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3435, allocations: 8 kB / 454.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.344, allocations: 84.75 kB / 454.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.345, allocations: 195.9 kB / 455 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.348, allocations: 1.86 MB / 456.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.3489, allocations: 83.47 kB / 456.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.3489, allocations: 36 kB / 456.9 MB, free: 13.39 MB / 366.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.0005917/0.3495, allocations: 225.4 kB / 457.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3497, allocations: 59.62 kB / 457.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.3498, allocations: 57.2 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3498, allocations: 4 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.3499, allocations: 4 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3499, allocations: 7.984 kB / 457.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3509, allocations: 464.8 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3509, allocations: 0 / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.3516, allocations: 103.9 kB / 457.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.3519, allocations: 68.8 kB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.352, allocations: 8.281 kB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.3549, allocations: 1.852 MB / 459.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3549, allocations: 3.984 kB / 459.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3564, allocations: 0.6508 MB / 460.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.3566, allocations: 51.66 kB / 460.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3567, allocations: 15.92 kB / 460.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.3573, allocations: 47.97 kB / 460.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3574, allocations: 27.94 kB / 460.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.3575, allocations: 16 kB / 460.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005681/0.358, allocations: 318.9 kB / 460.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.358, allocations: 0 / 460.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001374/0.3594, allocations: 255.4 kB / 461.1 MB, free: 9.031 MB / 366.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.0002055/0.3596, allocations: 111.2 kB / 461.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3611, allocations: 0.5652 MB / 461.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3611, allocations: 0.6875 kB / 461.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.3618, allocations: 310.3 kB / 462.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.3627, allocations: 98.03 kB / 462.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3662, allocations: 1.454 MB / 463.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.3667, allocations: 335.8 kB / 464 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3669, allocations: 43.44 kB / 464 MB, free: 6.035 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3669, allocations: 7.875 kB / 464 MB, free: 6.027 MB / 366.1 MB Notification: Performance of Templates: time 0.02307/0.3899, allocations: 11.13 MB / 475.2 MB, free: 10.91 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/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: 7.982054332009284]