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.001087/0.001087, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0012/0.0012, allocations: 167.1 kB / 25.7 MB, free: 8.43 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 0.958/0.958, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.703e-06/1.703e-06, allocations: 0 / 251.6 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.636e-05, allocations: 6.25 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005905/0.005932, allocations: 5.542 MB / 257.2 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.008912, allocations: 1.254 MB / 258.4 MB, free: 332 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.009442, allocations: 23.94 kB / 258.4 MB, free: 308 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.009828, allocations: 166.4 kB / 258.6 MB, free: 140 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.01043, allocations: 289.2 kB / 258.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.01089, allocations: 231.6 kB / 259.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000989/0.01188, allocations: 1.11 MB / 260.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.0124, allocations: 383 kB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.01311, allocations: 0.6355 MB / 261.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.01363, allocations: 378.8 kB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.01376, allocations: 100 kB / 261.7 MB, free: 13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.01389, allocations: 99.94 kB / 261.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.01403, allocations: 223.2 kB / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.01435, allocations: 367.1 kB / 262.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.01506, allocations: 0.72 MB / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01506, allocations: 0 / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01506, allocations: 0 / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01507, allocations: 0 / 263.1 MB, free: 11.61 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.001357/0.01643, allocations: 1.17 MB / 264.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.01647, allocations: 15.97 kB / 264.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.01663, allocations: 148.8 kB / 264.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.01705, allocations: 312.9 kB / 264.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.0171, allocations: 70.38 kB / 264.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.01721, allocations: 104.4 kB / 264.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.01831, allocations: 0.9413 MB / 265.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01833, allocations: 192 / 265.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.01838, allocations: 44.38 kB / 265.9 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.01841, allocations: 23.94 kB / 265.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.01875, allocations: 233.8 kB / 266.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.02153, allocations: 2.314 MB / 268.4 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.02178, allocations: 178.3 kB / 268.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.02193, allocations: 161.2 kB / 268.8 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.02194, allocations: 4 kB / 268.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.02198, allocations: 42.5 kB / 268.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.02198, allocations: 0 / 268.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006681/0.02265, allocations: 362.2 kB / 269.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.02268, allocations: 59.39 kB / 269.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.02298, allocations: 454.8 kB / 269.7 MB, free: 4.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.023, allocations: 33.7 kB / 269.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.02319, allocations: 467.7 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.02327, allocations: 166.6 kB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02338, allocations: 138.5 kB / 270.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.02349, allocations: 374.6 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.02357, allocations: 69.97 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.02377, allocations: 357.5 kB / 271.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.02423, allocations: 0.4946 MB / 271.7 MB, free: 2.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.02424, allocations: 4 kB / 271.7 MB, free: 2.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000811/0.02505, allocations: 499.3 kB / 272.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.02507, allocations: 8 kB / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.02509, allocations: 8 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.02534, allocations: 92.83 kB / 272.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.02578, allocations: 215.7 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.02687, allocations: 1.583 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.02711, allocations: 91.3 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.02713, allocations: 24 kB / 274.2 MB, free: 15.77 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.0001362/0.02727, allocations: 169.6 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.02732, allocations: 51.88 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.02737, allocations: 61.19 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.02737, allocations: 7.984 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.02738, allocations: 4 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.02739, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.02768, allocations: 317.4 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02769, allocations: 0 / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.02797, allocations: 123.8 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.02814, allocations: 76.78 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.02816, allocations: 11.94 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.0291, allocations: 1.571 MB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.0291, allocations: 4.031 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.02947, allocations: 434.6 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.02952, allocations: 43.61 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.02955, allocations: 8 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.02973, allocations: 47.97 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.02978, allocations: 35.88 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.0298, allocations: 11.94 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.02993, allocations: 184.4 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02993, allocations: 0 / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004904/0.03042, allocations: 251.4 kB / 277.6 MB, free: 12.26 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.0001089/0.03053, allocations: 104.2 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.03098, allocations: 445 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.031, allocations: 12.69 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.03121, allocations: 255 kB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.03151, allocations: 113.9 kB / 278.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.0331, allocations: 1.181 MB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.03319, allocations: 150.6 kB / 279.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.03333, allocations: 64.94 kB / 279.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.03357, allocations: 181.3 kB / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03357, allocations: 0 / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.04376, allocations: 7.322 MB / 287.4 MB, free: 2.395 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7736355680972338]