Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001589/0.001589, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001231/0.001231, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 1.049/1.049, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.205e-05, allocations: 5.266 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.006265/0.006287, allocations: 2.575 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.01043, allocations: 0.6854 MB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.01055, allocations: 4 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.01069, allocations: 35.64 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.01082, allocations: 79.28 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.01115, allocations: 91.69 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.01144, allocations: 298.6 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.0116, allocations: 52.56 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.01184, allocations: 175.5 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.01198, allocations: 83.78 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.01201, allocations: 24 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.664e-05/0.0121, allocations: 39.92 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.01214, allocations: 47.83 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.01222, allocations: 95.73 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.01269, allocations: 199.4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01269, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01269, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.0127, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.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.003766/0.01646, allocations: 0.5623 MB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.01651, allocations: 12.02 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01668, allocations: 52.73 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.01694, allocations: 196.2 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.01696, allocations: 16.88 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.01701, allocations: 24.33 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.01731, allocations: 208.8 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01732, allocations: 192 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.01735, allocations: 8.375 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.01736, allocations: 11.94 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.01753, allocations: 74.94 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.01849, allocations: 0.6718 MB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.01872, allocations: 115.1 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01886, allocations: 67.66 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.01888, allocations: 4 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.01891, allocations: 37.33 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.01891, allocations: 4 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.003429/0.02234, allocations: 287.7 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.02237, allocations: 51.41 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.02254, allocations: 229.8 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.02256, allocations: 29.7 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.02268, allocations: 191.2 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.02273, allocations: 67.42 kB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.0228, allocations: 43.36 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.02295, allocations: 0.4962 MB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.02301, allocations: 27.98 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.0231, allocations: 59.28 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.02324, allocations: 87.3 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02324, allocations: 0 / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000278/0.02352, allocations: 171.9 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02354, allocations: 4 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.02354, allocations: 7.938 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.02431, allocations: 175.5 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.02441, allocations: 31.98 kB / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004569/0.02486, allocations: 0.8506 MB / 282.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.02494, allocations: 15.89 kB / 282.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.02495, allocations: 4 kB / 282.3 MB, free: 7.75 MB / 266.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 0.0001159/0.02506, allocations: 168.6 kB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.02511, allocations: 19.91 kB / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.02543, allocations: 182.9 kB / 282.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02544, allocations: 4.031 kB / 282.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.02544, allocations: 3.984 kB / 282.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02545, allocations: 0 / 282.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.02611, allocations: 0.5159 MB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02611, allocations: 0 / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.02622, allocations: 27.98 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/0.02681, allocations: 159.5 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.02683, allocations: 4 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004336/0.02726, allocations: 0.8663 MB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.02727, allocations: 3.938 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.02784, allocations: 401.7 kB / 284.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.02787, allocations: 23.8 kB / 284.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.02789, allocations: 4 kB / 284.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.02799, allocations: 4 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.02804, allocations: 19.97 kB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.02805, allocations: 8 kB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.02814, allocations: 164.2 kB / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02814, allocations: 0 / 284.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.02843, allocations: 59.88 kB / 284.9 MB, free: 5.004 MB / 266.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.0001561/0.02858, allocations: 111.2 kB / 285 MB, free: 4.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.02888, allocations: 111.4 kB / 285.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02888, allocations: 7.938 kB / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.029, allocations: 76.77 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.02932, allocations: 23.98 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.0305, allocations: 0.4911 MB / 285.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.225e-05/0.03056, allocations: 76.22 kB / 285.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.03061, allocations: 17.47 kB / 285.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.03065, allocations: 16.5 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03065, allocations: 0 / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of Templates: time 0.004597/0.03524, allocations: 2.268 MB / 288.1 MB, free: 1.781 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.084291961044073]