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.001156/0.001156, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001313/0.001313, allocations: 165.4 kB / 24.56 MB, free: 8 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 0.9349/0.9349, allocations: 177.1 MB / 205 MB, free: 5.285 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.047e-05, allocations: 5.125 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002649/0.002669, allocations: 2.571 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003687, allocations: 0.6893 MB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.003786, allocations: 4 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003915, allocations: 31.66 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.004021, allocations: 75.28 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.004313, allocations: 107.7 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.004537, allocations: 282.6 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004669, allocations: 60.55 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.004873, allocations: 171.5 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.004994, allocations: 83.77 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.005023, allocations: 24 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.005096, allocations: 43.92 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.005127, allocations: 51.77 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.00519, allocations: 91.81 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.005409, allocations: 195.3 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005411, allocations: 4 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005412, allocations: 3.938 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.005416, allocations: 0 / 277.5 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.0005395/0.005955, allocations: 0.5584 MB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.00599, allocations: 12.03 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.006107, allocations: 56.73 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.006298, allocations: 188.2 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.006312, allocations: 16.86 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.006345, allocations: 28.33 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.006546, allocations: 208.8 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.006554, allocations: 192 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006568, allocations: 12.36 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006575, allocations: 7.938 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.006701, allocations: 82.94 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.007375, allocations: 0.6718 MB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.007529, allocations: 115.1 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.007631, allocations: 59.66 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.007646, allocations: 8 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.007666, allocations: 45.33 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.007667, allocations: 0 / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005627/0.00823, allocations: 279.7 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.008248, allocations: 55.41 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.008355, allocations: 233.8 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.008368, allocations: 25.7 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.00843, allocations: 187.2 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.008461, allocations: 63.44 kB / 280.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.008505, allocations: 43.36 kB / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008613, allocations: 0.504 MB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.008656, allocations: 27.98 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.008718, allocations: 47.3 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.008823, allocations: 95.22 kB / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008824, allocations: 0 / 281 MB, free: 9.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000191/0.009015, allocations: 171.9 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-06/0.009024, allocations: 8 kB / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.009027, allocations: 4 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.009554, allocations: 183.5 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.009625, allocations: 27.98 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000325/0.00995, allocations: 0.8506 MB / 282.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.009999, allocations: 11.89 kB / 282.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.01001, allocations: 8 kB / 282.3 MB, free: 7.746 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 7.5e-05/0.01008, allocations: 164.6 kB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.01011, allocations: 23.91 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.01034, allocations: 183 kB / 282.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01034, allocations: 0 / 282.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01034, allocations: 4 kB / 282.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01034, allocations: 3.984 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.0108, allocations: 0.5121 MB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0108, allocations: 3.938 kB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.01088, allocations: 23.98 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.0113, allocations: 159.5 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01131, allocations: 4 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003094/0.01162, allocations: 0.8663 MB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01162, allocations: 3.984 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.01202, allocations: 405.7 kB / 284.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.01204, allocations: 23.8 kB / 284.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01206, allocations: 0 / 284.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.01212, allocations: 16.06 kB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.01215, allocations: 15.91 kB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.01216, allocations: 8 kB / 284.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.01222, allocations: 160.2 kB / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01222, allocations: 0 / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000177/0.0124, allocations: 59.88 kB / 284.9 MB, free: 5 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 9.064e-05/0.01249, allocations: 111.2 kB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.01268, allocations: 114.6 kB / 285.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01268, allocations: 8.062 kB / 285.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.01276, allocations: 68.7 kB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01294, allocations: 31.98 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.01367, allocations: 498.8 kB / 285.7 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01371, allocations: 76.22 kB / 285.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.01375, allocations: 17.48 kB / 285.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.01377, allocations: 12.5 kB / 285.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01377, allocations: 4 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of Templates: time 0.003736/0.01751, allocations: 2.369 MB / 288.2 MB, free: 1.672 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: 2.6714156260713935]