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.001145/0.001145, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002882, allocations: 445.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.001147/0.001147, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002706, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9278/0.9278, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1512/1.079, allocations: 49.48 MB / 220.6 MB, free: 1.449 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 1.453e-06/1.453e-06, allocations: 3.938 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.346e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003821/0.003844, allocations: 2.526 MB / 224.4 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.005078, allocations: 0.6826 MB / 225 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.005193, allocations: 0 / 225 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.005302, allocations: 39.64 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.005445, allocations: 71.3 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.005676, allocations: 91.69 kB / 225.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.005967, allocations: 282.7 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.006109, allocations: 54.52 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.006372, allocations: 187.4 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.006523, allocations: 83.77 kB / 225.8 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.006557, allocations: 20 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.006656, allocations: 47.86 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.006692, allocations: 35.88 kB / 225.9 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.00677, allocations: 71.88 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.007032, allocations: 175.4 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.007047, allocations: 4 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007048, allocations: 0 / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.007063, allocations: 0 / 226.2 MB, free: 11.79 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.0006892/0.007753, allocations: 495.8 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.007789, allocations: 8.031 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.007846, allocations: 32.91 kB / 226.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.00805, allocations: 154.2 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.008069, allocations: 16.88 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.008104, allocations: 20.38 kB / 226.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.008347, allocations: 204.7 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.008359, allocations: 192 / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.008379, allocations: 15.94 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008387, allocations: 4 kB / 227.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.008508, allocations: 53.47 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.009394, allocations: 0.5083 MB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.009582, allocations: 101.3 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.009685, allocations: 49.14 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.009717, allocations: 7.906 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.009742, allocations: 38.5 kB / 227.9 MB, free: 9.988 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.009744, allocations: 4 kB / 227.9 MB, free: 9.984 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007542/0.0105, allocations: 230.2 kB / 228.1 MB, free: 9.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01053, allocations: 51.41 kB / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01065, allocations: 162.6 kB / 228.3 MB, free: 9.516 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.01067, allocations: 29.7 kB / 228.3 MB, free: 9.48 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.01074, allocations: 136.4 kB / 228.5 MB, free: 9.344 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.01078, allocations: 59.47 kB / 228.5 MB, free: 9.285 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.01083, allocations: 37.69 kB / 228.6 MB, free: 9.242 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0005265/0.01136, allocations: 330.8 kB / 228.9 MB, free: 8.91 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.01141, allocations: 19.98 kB / 228.9 MB, free: 8.891 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.01147, allocations: 45.62 kB / 229 MB, free: 8.84 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.01158, allocations: 77.5 kB / 229 MB, free: 8.758 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01158, allocations: 0 / 229 MB, free: 8.758 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002265/0.01181, allocations: 118.4 kB / 229.1 MB, free: 8.633 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01183, allocations: 8 kB / 229.2 MB, free: 8.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01183, allocations: 3.984 kB / 229.2 MB, free: 8.621 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/0.01266, allocations: 245.7 kB / 229.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.01285, allocations: 39.97 kB / 229.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/0.01322, allocations: 0.5601 MB / 230 MB, free: 7.734 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.01331, allocations: 15.89 kB / 230 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.01332, allocations: 4 kB / 230 MB, free: 7.715 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.978e-05/0.01341, allocations: 125.8 kB / 230.1 MB, free: 7.582 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.01345, allocations: 19.92 kB / 230.2 MB, free: 7.562 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.01367, allocations: 136.2 kB / 230.3 MB, free: 7.426 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.01368, allocations: 4 kB / 230.3 MB, free: 7.422 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01368, allocations: 0 / 230.3 MB, free: 7.422 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01368, allocations: 3.984 kB / 230.3 MB, free: 7.418 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.01404, allocations: 362.7 kB / 230.7 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01404, allocations: 0 / 230.7 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01415, allocations: 35.97 kB / 230.7 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.01416, allocations: 19.83 kB / 230.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.01455, allocations: 152.7 kB / 230.9 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01456, allocations: 4 kB / 230.9 MB, free: 6.824 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002158/0.01478, allocations: 0.5834 MB / 231.4 MB, free: 6.215 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01478, allocations: 0 / 231.4 MB, free: 6.215 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.01506, allocations: 301.6 kB / 231.7 MB, free: 5.898 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.01507, allocations: 4 kB / 231.7 MB, free: 5.895 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.01513, allocations: 8 kB / 231.7 MB, free: 5.887 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.01516, allocations: 19.97 kB / 231.8 MB, free: 5.867 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01517, allocations: 12 kB / 231.8 MB, free: 5.855 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.178e-05/0.0152, allocations: 41.81 kB / 231.8 MB, free: 5.812 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0152, allocations: 0 / 231.8 MB, free: 5.812 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.01536, allocations: 59.83 kB / 231.9 MB, free: 5.754 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.0001083/0.01546, allocations: 84.42 kB / 232 MB, free: 5.66 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.01562, allocations: 101.7 kB / 232.1 MB, free: 5.559 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.01563, allocations: 4 kB / 232.1 MB, free: 5.555 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.01569, allocations: 61.95 kB / 232.1 MB, free: 5.492 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.01586, allocations: 39.89 kB / 232.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.01831, allocations: 479.3 kB / 232.6 MB, free: 4.953 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.01835, allocations: 76.22 kB / 232.7 MB, free: 4.859 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.0184, allocations: 13.48 kB / 232.7 MB, free: 4.844 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.01848, allocations: 79.36 kB / 232.8 MB, free: 4.766 MB / 234.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01848, allocations: 0 / 232.8 MB, free: 4.766 MB / 234.7 MB Notification: Performance of Templates: time 0.004346/0.02283, allocations: 2.56 MB / 235.4 MB, free: 2.219 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.663250214420259]