Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001126/0.001126, allocations: 77.06 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001943/0.003069, allocations: 449.9 kB / 10.45 MB, free: 236 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.00107/0.00107, allocations: 161.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002507, allocations: 479.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9526/0.9526, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1824/1.135, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.292e-05, allocations: 5.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003523/0.003556, allocations: 2.53 MB / 224.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004769, allocations: 0.6747 MB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004886, allocations: 7.938 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.004994, allocations: 39.64 kB / 225.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.005124, allocations: 71.28 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.00539, allocations: 79.77 kB / 225.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.005686, allocations: 294.6 kB / 225.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.005851, allocations: 54.52 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.006122, allocations: 183.6 kB / 225.9 MB, free: 12.1 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006296, allocations: 87.75 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.006334, allocations: 23.94 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.006441, allocations: 39.94 kB / 226.1 MB, free: 11.95 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.00648, allocations: 35.88 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.006551, allocations: 71.88 kB / 226.2 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.006831, allocations: 171.4 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.006845, allocations: 0 / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006847, allocations: 4 kB / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.006858, allocations: 0 / 226.3 MB, free: 11.68 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007122/0.00757, allocations: 495.8 kB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.007605, allocations: 8.031 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.00767, allocations: 36.91 kB / 226.9 MB, free: 11.12 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.007901, allocations: 158.1 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.00792, allocations: 16.88 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.007959, allocations: 20.36 kB / 227.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.00821, allocations: 200.8 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.008224, allocations: 192 / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.008246, allocations: 15.94 kB / 227.3 MB, free: 10.68 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.008257, allocations: 4 kB / 227.3 MB, free: 10.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.008376, allocations: 57.45 kB / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.009234, allocations: 0.5082 MB / 227.8 MB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.009455, allocations: 93.77 kB / 227.9 MB, free: 9.984 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.009558, allocations: 57.12 kB / 228 MB, free: 9.926 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.009583, allocations: 7.906 kB / 228 MB, free: 9.918 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.009611, allocations: 38.56 kB / 228 MB, free: 9.871 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.009613, allocations: 0 / 228 MB, free: 9.871 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006547/0.01027, allocations: 226.2 kB / 228.3 MB, free: 9.641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.01039, allocations: 59.34 kB / 228.3 MB, free: 9.57 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.0105, allocations: 162.6 kB / 228.5 MB, free: 9.398 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01052, allocations: 29.7 kB / 228.5 MB, free: 9.363 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.0106, allocations: 140.4 kB / 228.6 MB, free: 9.223 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.01064, allocations: 59.47 kB / 228.7 MB, free: 9.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.01069, allocations: 37.69 kB / 228.7 MB, free: 9.121 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.01078, allocations: 326.8 kB / 229 MB, free: 8.793 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.01081, allocations: 15.98 kB / 229.1 MB, free: 8.777 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.01085, allocations: 41.69 kB / 229.1 MB, free: 8.73 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.01102, allocations: 81.5 kB / 229.2 MB, free: 8.645 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01102, allocations: 0 / 229.2 MB, free: 8.645 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000214/0.01123, allocations: 126.4 kB / 229.3 MB, free: 8.512 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01125, allocations: 4 kB / 229.3 MB, free: 8.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01125, allocations: 3.938 kB / 229.3 MB, free: 8.504 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.01192, allocations: 237.8 kB / 229.5 MB, free: 8.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01208, allocations: 47.97 kB / 229.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003309/0.01241, allocations: 0.5717 MB / 230.2 MB, free: 7.605 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.01248, allocations: 11.89 kB / 230.2 MB, free: 7.594 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01249, allocations: 7.984 kB / 230.2 MB, free: 7.586 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.01257, allocations: 113.8 kB / 230.3 MB, free: 7.465 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.01261, allocations: 23.92 kB / 230.3 MB, free: 7.441 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.01285, allocations: 132.2 kB / 230.4 MB, free: 7.309 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01285, allocations: 4 kB / 230.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01285, allocations: 4.031 kB / 230.5 MB, free: 7.301 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01286, allocations: 3.984 kB / 230.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.01334, allocations: 366.7 kB / 230.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01335, allocations: 4 kB / 230.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.01347, allocations: 35.91 kB / 230.9 MB, free: 6.871 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.0135, allocations: 19.84 kB / 230.9 MB, free: 6.852 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.01413, allocations: 144.7 kB / 231 MB, free: 6.707 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01415, allocations: 3.984 kB / 231 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002943/0.01444, allocations: 0.5796 MB / 231.6 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01444, allocations: 0 / 231.6 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.01482, allocations: 301.5 kB / 231.9 MB, free: 5.781 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01484, allocations: 8 kB / 231.9 MB, free: 5.773 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.01494, allocations: 15.98 kB / 231.9 MB, free: 5.758 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.01498, allocations: 11.92 kB / 231.9 MB, free: 5.746 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01499, allocations: 8.062 kB / 231.9 MB, free: 5.738 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.01503, allocations: 45.81 kB / 232 MB, free: 5.691 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01503, allocations: 0 / 232 MB, free: 5.691 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01527, allocations: 55.89 kB / 232 MB, free: 5.637 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.01541, allocations: 88.41 kB / 232.1 MB, free: 5.539 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01563, allocations: 101.7 kB / 232.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.01564, allocations: 4 kB / 232.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01575, allocations: 74.06 kB / 232.3 MB, free: 5.359 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.01608, allocations: 269.5 kB / 232.6 MB, free: 5.047 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.01943, allocations: 463.2 kB / 233 MB, free: 4.562 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.01949, allocations: 80.2 kB / 233.1 MB, free: 4.465 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.01955, allocations: 13.5 kB / 233.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01965, allocations: 87.34 kB / 233.2 MB, free: 4.367 MB / 234.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01965, allocations: 0 / 233.2 MB, free: 4.367 MB / 234.7 MB Notification: Performance of Templates: time 0.009659/0.02931, allocations: 2.768 MB / 236 MB, free: 1.617 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.914052613079548]