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.001955/0.001955, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.002408/0.002408, allocations: 171.9 kB / 23.96 MB, free: 4.148 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.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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 1.844e-06/1.844e-06, allocations: 0 / 325.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.5e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007231/0.007266, allocations: 5.102 MB / 330.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.01038, allocations: 1.173 MB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006473/0.01103, allocations: 25.22 kB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.01144, allocations: 171.2 kB / 331.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.01215, allocations: 297.3 kB / 331.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.01272, allocations: 222.4 kB / 332.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.014, allocations: 1.102 MB / 333.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.01467, allocations: 382.7 kB / 333.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008366/0.0155, allocations: 0.636 MB / 334.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.01608, allocations: 334.9 kB / 334.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.01625, allocations: 105.5 kB / 334.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.01644, allocations: 98.34 kB / 334.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.01665, allocations: 221 kB / 335 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.0171, allocations: 364.3 kB / 335.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.01859, allocations: 1.133 MB / 336.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.0186, allocations: 0.8438 kB / 336.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0186, allocations: 0 / 336.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.01863, allocations: 0 / 336.4 MB, free: 8.906 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.002173/0.0208, allocations: 1.174 MB / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.02085, allocations: 10.06 kB / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.02104, allocations: 105.8 kB / 337.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.02175, allocations: 399.6 kB / 338.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.02183, allocations: 77.17 kB / 338.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.02196, allocations: 92.66 kB / 338.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.02364, allocations: 1.148 MB / 339.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.02367, allocations: 192 / 339.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.02376, allocations: 44.38 kB / 339.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.0238, allocations: 27.94 kB / 339.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.02489, allocations: 0.566 MB / 340.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004988/0.02988, allocations: 2.554 MB / 342.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.03035, allocations: 266.4 kB / 342.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.03072, allocations: 230.5 kB / 343.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.03075, allocations: 7.938 kB / 343.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.03079, allocations: 42.56 kB / 343.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.0308, allocations: 0 / 343.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001536/0.03233, allocations: 0.5682 MB / 343.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.03239, allocations: 55.41 kB / 343.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.03295, allocations: 0.4976 MB / 344.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.03299, allocations: 37.64 kB / 344.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.03335, allocations: 0.4952 MB / 344.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.03348, allocations: 162.7 kB / 345 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.03366, allocations: 130.6 kB / 345.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.03384, allocations: 370.7 kB / 345.5 MB, free: 392 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.03415, allocations: 169.9 kB / 345.6 MB, free: 220 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.0347, allocations: 453.5 kB / 346.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.03562, allocations: 0.6508 MB / 346.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.03563, allocations: 4 kB / 346.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001356/0.03698, allocations: 0.7442 MB / 347.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.037, allocations: 8 kB / 347.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.03702, allocations: 8 kB / 347.5 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.03739, allocations: 93.06 kB / 347.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.0381, allocations: 191.7 kB / 347.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.04014, allocations: 1.868 MB / 349.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.04069, allocations: 83.41 kB / 349.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.04074, allocations: 36 kB / 349.7 MB, free: 11.73 MB / 318.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.0003512/0.04109, allocations: 209.6 kB / 349.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.04119, allocations: 63.55 kB / 350 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.0413, allocations: 65.19 kB / 350.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0413, allocations: 4 kB / 350.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.04131, allocations: 8.062 kB / 350.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.04132, allocations: 7.969 kB / 350.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.04193, allocations: 456.8 kB / 350.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.04193, allocations: 0 / 350.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.04236, allocations: 95.88 kB / 350.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/0.04259, allocations: 72.73 kB / 350.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.04261, allocations: 19.92 kB / 350.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.04448, allocations: 1.845 MB / 352.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.04448, allocations: 3.938 kB / 352.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.04551, allocations: 0.6512 MB / 353.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.04562, allocations: 63.55 kB / 353.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.04568, allocations: 4 kB / 353.3 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.04609, allocations: 44.09 kB / 353.3 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.04617, allocations: 39.88 kB / 353.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.0462, allocations: 12 kB / 353.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.04657, allocations: 326.9 kB / 353.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04657, allocations: 0 / 353.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008312/0.0474, allocations: 255.3 kB / 354 MB, free: 7.355 MB / 318.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.0001506/0.04755, allocations: 115.2 kB / 354.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.04855, allocations: 0.5578 MB / 354.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.04856, allocations: 4.188 kB / 354.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.04906, allocations: 306.4 kB / 354.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.04961, allocations: 97.91 kB / 355 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.05175, allocations: 1.298 MB / 356.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.05207, allocations: 335.9 kB / 356.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.05228, allocations: 68.92 kB / 356.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.05239, allocations: 44.5 kB / 356.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.05239, allocations: 0 / 356.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of Templates: time 0.01384/0.06623, allocations: 6.7 MB / 363.5 MB, free: 13.89 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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: 4.681717727333307]