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.001105/0.001105, 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.001311/0.001311, allocations: 168 kB / 25.69 MB, free: 8.449 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.9379/0.9379, allocations: 158.6 MB / 187.6 MB, free: 2.762 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.823e-06/1.823e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.246e-05, allocations: 6.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005555/0.005578, allocations: 5.499 MB / 257.1 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.007995, allocations: 1.247 MB / 258.3 MB, free: 444 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.008278, allocations: 23.94 kB / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.008586, allocations: 174.3 kB / 258.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.009062, allocations: 289.4 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.009464, allocations: 231.6 kB / 259 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009144/0.01038, allocations: 1.11 MB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005355/0.01091, allocations: 383 kB / 260.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.0115, allocations: 0.6355 MB / 261.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.01198, allocations: 378.8 kB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.01211, allocations: 100 kB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.01224, allocations: 100 kB / 261.7 MB, free: 13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.01239, allocations: 219.2 kB / 261.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.01268, allocations: 375.1 kB / 262.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.01332, allocations: 0.7161 MB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01332, allocations: 0 / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01332, allocations: 0 / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01333, allocations: 0 / 263 MB, free: 11.7 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.001342/0.01467, allocations: 1.173 MB / 264.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.01471, allocations: 11.98 kB / 264.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.01489, allocations: 148.8 kB / 264.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.01536, allocations: 308.9 kB / 264.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.01542, allocations: 70.38 kB / 264.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.01554, allocations: 108.3 kB / 264.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.01644, allocations: 0.9375 MB / 265.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.01646, allocations: 192 / 265.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.01653, allocations: 44.38 kB / 265.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.01655, allocations: 27.94 kB / 265.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.01692, allocations: 237.8 kB / 266.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.01957, allocations: 2.31 MB / 268.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.01979, allocations: 174.4 kB / 268.5 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.01996, allocations: 165.2 kB / 268.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.01998, allocations: 8 kB / 268.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.02001, allocations: 39.25 kB / 268.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.02001, allocations: 0 / 268.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007383/0.02075, allocations: 353.5 kB / 269.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.02078, allocations: 59.41 kB / 269.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.0211, allocations: 454.8 kB / 269.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.02113, allocations: 37.7 kB / 269.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.02136, allocations: 471.7 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.02146, allocations: 162.6 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.02163, allocations: 142.5 kB / 270.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.02175, allocations: 370.6 kB / 270.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.02186, allocations: 69.95 kB / 270.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.02213, allocations: 353.5 kB / 271.2 MB, free: 3.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.02263, allocations: 0.5061 MB / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.02264, allocations: 0 / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006503/0.02329, allocations: 495.4 kB / 272.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.02331, allocations: 12.03 kB / 272.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.02332, allocations: 8 kB / 272.2 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.02361, allocations: 88.73 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.02408, allocations: 195.6 kB / 272.4 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.02523, allocations: 1.575 MB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.02553, allocations: 83.53 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.02556, allocations: 32 kB / 274.1 MB, free: 15.89 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.0001448/0.02571, allocations: 153.6 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.02578, allocations: 51.94 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.02584, allocations: 68.94 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.02585, allocations: 7.938 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.02586, allocations: 12.03 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02586, allocations: 3.984 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.02623, allocations: 321.4 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02623, allocations: 0 / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.02649, allocations: 91.94 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.02669, allocations: 77 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.02671, allocations: 8 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.02776, allocations: 1.579 MB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02776, allocations: 0 / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.02824, allocations: 426.9 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.02831, allocations: 43.61 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.02836, allocations: 12 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.02862, allocations: 44 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.02867, allocations: 31.94 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.02869, allocations: 8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.02886, allocations: 188.3 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02886, allocations: 0 / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006715/0.02953, allocations: 255.4 kB / 277.5 MB, free: 12.42 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.0001269/0.02966, allocations: 92.36 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.03023, allocations: 459.9 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.03025, allocations: 8.5 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.03051, allocations: 255 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.03092, allocations: 107 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.03252, allocations: 1.185 MB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.03262, allocations: 150.5 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.0328, allocations: 60.94 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.03311, allocations: 189.3 kB / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03311, allocations: 0 / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of Templates: time 0.0112/0.04431, allocations: 7.227 MB / 287.2 MB, free: 2.641 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 -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.8269529179669917]