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.0011/0.0011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.002794, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001148/0.001148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002573, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9296/0.9296, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08352/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.623e-06/1.623e-06, allocations: 0 / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.241e-05, allocations: 2.312 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004538/0.00456, allocations: 5.648 MB / 250.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.007076, allocations: 1.265 MB / 251.5 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.007574, allocations: 19.94 kB / 251.5 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.007863, allocations: 170.4 kB / 251.7 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.008378, allocations: 301.1 kB / 252 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.008761, allocations: 219.7 kB / 252.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009004/0.009661, allocations: 1.102 MB / 253.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.01011, allocations: 391 kB / 253.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.01086, allocations: 0.6951 MB / 254.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.01126, allocations: 378.9 kB / 254.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.301e-05/0.01136, allocations: 96 kB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.01146, allocations: 100 kB / 254.9 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.01154, allocations: 159.4 kB / 255.1 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.01178, allocations: 303.4 kB / 255.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.01234, allocations: 0.6616 MB / 256 MB, free: 2.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598e-05/0.01236, allocations: 0 / 256 MB, free: 2.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01236, allocations: 4 kB / 256 MB, free: 2.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.01238, allocations: 0 / 256 MB, free: 2.715 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.001204/0.01358, allocations: 1.38 MB / 257.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.01361, allocations: 8.031 kB / 257.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.01374, allocations: 144.8 kB / 257.6 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.0141, allocations: 324.8 kB / 257.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.01414, allocations: 66.38 kB / 258 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.01422, allocations: 100.4 kB / 258.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.01526, allocations: 0.9298 MB / 259 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01528, allocations: 4.125 kB / 259 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.01532, allocations: 40.38 kB / 259 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.01533, allocations: 27.94 kB / 259.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.01557, allocations: 245.8 kB / 259.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.01761, allocations: 2.31 MB / 261.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.01779, allocations: 177 kB / 261.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01792, allocations: 153.8 kB / 261.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.01793, allocations: 4 kB / 261.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.01796, allocations: 46.56 kB / 262 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.01796, allocations: 4 kB / 262 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006104/0.01857, allocations: 367.5 kB / 262.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.0186, allocations: 59.19 kB / 262.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01885, allocations: 446.9 kB / 262.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.01888, allocations: 37.7 kB / 262.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.01905, allocations: 475.7 kB / 263.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.01914, allocations: 166.6 kB / 263.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.01924, allocations: 138.5 kB / 263.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.01933, allocations: 370.6 kB / 264 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.0194, allocations: 69.95 kB / 264.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01959, allocations: 357.5 kB / 264.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01991, allocations: 0.4907 MB / 264.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01991, allocations: 0 / 264.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007351/0.02065, allocations: 0.4912 MB / 265.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.02067, allocations: 14.8 kB / 265.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.02068, allocations: 8 kB / 265.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.02091, allocations: 81.27 kB / 265.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.02135, allocations: 231.7 kB / 265.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009776/0.02232, allocations: 1.587 MB / 267.3 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.02258, allocations: 91.33 kB / 267.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.0226, allocations: 28 kB / 267.4 MB, free: 6.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.0001381/0.02274, allocations: 161.6 kB / 267.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.02279, allocations: 51.88 kB / 267.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.02285, allocations: 69.19 kB / 267.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.02285, allocations: 4 kB / 267.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.02286, allocations: 0 / 267.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02286, allocations: 3.984 kB / 267.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.02317, allocations: 321.4 kB / 268 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02317, allocations: 4 kB / 268 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.02343, allocations: 123.8 kB / 268.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.02348, allocations: 51.56 kB / 268.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.02365, allocations: 80.66 kB / 268.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.02367, allocations: 8 kB / 268.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008324/0.0245, allocations: 1.571 MB / 269.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.0245, allocations: 0 / 269.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.02485, allocations: 421.6 kB / 270.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.02489, allocations: 12 kB / 270.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.02505, allocations: 44 kB / 270.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.0251, allocations: 31.94 kB / 270.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.02511, allocations: 8 kB / 270.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.02523, allocations: 184.4 kB / 270.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02523, allocations: 0 / 270.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.02572, allocations: 255.4 kB / 270.8 MB, free: 3.152 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.0001147/0.02584, allocations: 103.2 kB / 270.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.02627, allocations: 448.3 kB / 271.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/0.0263, allocations: 16.5 kB / 271.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.02652, allocations: 267.2 kB / 271.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.02684, allocations: 162.7 kB / 271.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.03143, allocations: 1.289 MB / 273.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.03153, allocations: 162.4 kB / 273.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.0317, allocations: 64.94 kB / 273.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.03193, allocations: 189.3 kB / 273.5 MB, free: 404 kB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03193, allocations: 0 / 273.5 MB, free: 404 kB / 266.7 MB Notification: Performance of Templates: time 0.01066/0.04258, allocations: 7.775 MB / 281.2 MB, free: 8.754 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] 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","",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.6799091286957264]