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.000883/0.000883, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009822/0.0009822, allocations: 169.7 kB / 25.33 MB, free: 9.461 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.9191/0.9191, allocations: 158.6 MB / 187.2 MB, free: 2.551 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 2.063e-06/2.063e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.218e-05, allocations: 5.406 kB / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004816/0.004838, allocations: 5.599 MB / 256.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.007047, allocations: 1.185 MB / 257.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.007367, allocations: 19.94 kB / 257.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.007635, allocations: 170.4 kB / 258.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.008041, allocations: 297.2 kB / 258.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.008407, allocations: 227.6 kB / 258.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007965/0.009204, allocations: 1.106 MB / 259.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.009681, allocations: 379 kB / 260 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.01022, allocations: 0.6355 MB / 260.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.01059, allocations: 366.9 kB / 261 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.01068, allocations: 100 kB / 261.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.01079, allocations: 96 kB / 261.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.0109, allocations: 227.1 kB / 261.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.01113, allocations: 367.2 kB / 261.8 MB, free: 8.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01221, allocations: 0.72 MB / 262.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01222, allocations: 0 / 262.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01222, allocations: 0 / 262.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.01223, allocations: 3.938 kB / 262.5 MB, free: 8.012 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.001348/0.01358, allocations: 1.283 MB / 263.8 MB, free: 6.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.01363, allocations: 19.97 kB / 263.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.01381, allocations: 188.3 kB / 264 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.01424, allocations: 399.7 kB / 264.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.01429, allocations: 70.31 kB / 264.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.01439, allocations: 96.38 kB / 264.6 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.01527, allocations: 0.9856 MB / 265.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.01528, allocations: 192 / 265.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.01533, allocations: 52.31 kB / 265.6 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.01535, allocations: 27.94 kB / 265.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.01582, allocations: 347.7 kB / 266 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.01829, allocations: 2.79 MB / 268.8 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.01855, allocations: 218.9 kB / 269 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.01874, allocations: 191.9 kB / 269.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01876, allocations: 11.98 kB / 269.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.01879, allocations: 41.39 kB / 269.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.01879, allocations: 4 kB / 269.2 MB, free: 1.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.001091/0.01988, allocations: 488.6 kB / 269.7 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.01991, allocations: 55.41 kB / 269.8 MB, free: 460 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.02025, allocations: 0.5024 MB / 270.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.02028, allocations: 37.7 kB / 270.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.02053, allocations: 0.5486 MB / 270.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.0206, allocations: 162.6 kB / 271 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.02072, allocations: 140.2 kB / 271.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.02085, allocations: 0.5352 MB / 271.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.02098, allocations: 93.92 kB / 271.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.02127, allocations: 0.4895 MB / 272.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.02174, allocations: 0.6471 MB / 272.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.02175, allocations: 4 kB / 272.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006876/0.02244, allocations: 0.6487 MB / 273.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02246, allocations: 8 kB / 273.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.02247, allocations: 12.72 kB / 273.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.02273, allocations: 91.62 kB / 273.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.02308, allocations: 199.7 kB / 273.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.02443, allocations: 2.298 MB / 276.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.02469, allocations: 87.38 kB / 276.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.02472, allocations: 36 kB / 276.3 MB, free: 9.395 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.0004774/0.02519, allocations: 204.3 kB / 276.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.02527, allocations: 79.56 kB / 276.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.02532, allocations: 61.19 kB / 276.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02532, allocations: 8 kB / 276.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.02533, allocations: 0 / 276.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02533, allocations: 3.984 kB / 276.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.02571, allocations: 460.1 kB / 277.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02571, allocations: 4 kB / 277.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.02593, allocations: 91.88 kB / 277.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.02613, allocations: 87.55 kB / 277.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.02614, allocations: 4 kB / 277.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.02725, allocations: 2.294 MB / 279.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02725, allocations: 3.938 kB / 279.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.02778, allocations: 0.5758 MB / 280.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.02783, allocations: 55.59 kB / 280.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.02787, allocations: 4 kB / 280.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.02805, allocations: 52 kB / 280.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.02811, allocations: 31.88 kB / 280.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.02813, allocations: 12 kB / 280.3 MB, free: 5.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.02837, allocations: 322.8 kB / 280.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02837, allocations: 0 / 280.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000466/0.02883, allocations: 255.4 kB / 280.9 MB, free: 4.633 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.0001044/0.02894, allocations: 119.2 kB / 281 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.02954, allocations: 0.5421 MB / 281.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02954, allocations: 0 / 281.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.0298, allocations: 344.9 kB / 281.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.03016, allocations: 112.7 kB / 282 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.03174, allocations: 1.276 MB / 283.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.03183, allocations: 142.6 kB / 283.4 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.03197, allocations: 64.94 kB / 283.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.03204, allocations: 40.5 kB / 283.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03204, allocations: 0 / 283.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of Templates: time 0.01053/0.04257, allocations: 7.121 MB / 290.6 MB, free: 10.79 MB / 282.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 -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.874653155449778]