Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009325/0.0009325, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009342/0.0009342, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9327/0.9327, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.235e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.006399/0.006421, allocations: 2.582 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.007582, allocations: 0.7047 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.007698, allocations: 4 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.007835, allocations: 39.64 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.007962, allocations: 71.28 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.008239, allocations: 103.7 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.008524, allocations: 294.6 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.008662, allocations: 62.5 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.008912, allocations: 167.5 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.009052, allocations: 83.77 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.009083, allocations: 24 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.009178, allocations: 43.92 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.009448, allocations: 55.81 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.009524, allocations: 87.77 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.009776, allocations: 191.4 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.00978, allocations: 4 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009781, allocations: 8 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.009787, allocations: 3.984 kB / 277.9 MB, free: 12.46 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.0005525/0.01034, allocations: 448.1 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01037, allocations: 11.98 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01051, allocations: 44.91 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.01071, allocations: 177.4 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.01073, allocations: 16.81 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.01076, allocations: 24.38 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.01098, allocations: 196.8 kB / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01099, allocations: 192 / 278.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.011, allocations: 8.375 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01101, allocations: 7.938 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.01112, allocations: 61.45 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.01188, allocations: 0.4966 MB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.01204, allocations: 102.5 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.01213, allocations: 56.81 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.01214, allocations: 4 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.01217, allocations: 30.56 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.01217, allocations: 4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006035/0.01278, allocations: 230.5 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.0128, allocations: 55.41 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.0129, allocations: 166.6 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01292, allocations: 33.7 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.01298, allocations: 144.3 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.01301, allocations: 59.47 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.01306, allocations: 37.69 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.01315, allocations: 326.8 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.01318, allocations: 27.98 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.01323, allocations: 37.69 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.01332, allocations: 69.61 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01332, allocations: 0 / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001819/0.01351, allocations: 129.6 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01352, allocations: 7.125 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01352, allocations: 0 / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.01415, allocations: 168.6 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.01428, allocations: 35.98 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002964/0.01458, allocations: 0.5678 MB / 281.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.01464, allocations: 15.89 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01465, allocations: 4 kB / 281.7 MB, free: 8.48 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.671e-05/0.01472, allocations: 121.8 kB / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01476, allocations: 15.98 kB / 281.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.01496, allocations: 144.1 kB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.01497, allocations: 8.031 kB / 282 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01497, allocations: 0 / 282 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01497, allocations: 3.984 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.01541, allocations: 348.2 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01541, allocations: 0 / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.01553, allocations: 31.97 kB / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/0.01602, allocations: 160.6 kB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01604, allocations: 4 kB / 282.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002749/0.01632, allocations: 0.5795 MB / 283.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01632, allocations: 0 / 283.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.01668, allocations: 294 kB / 283.4 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.0167, allocations: 23.83 kB / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.01672, allocations: 0 / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.01681, allocations: 12 kB / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01684, allocations: 23.97 kB / 283.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01685, allocations: 4 kB / 283.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.01689, allocations: 41.88 kB / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01689, allocations: 0 / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01714, allocations: 67.78 kB / 283.5 MB, free: 6.523 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.000123/0.01726, allocations: 80.42 kB / 283.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.01745, allocations: 96.86 kB / 283.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.01746, allocations: 4 kB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.01754, allocations: 62 kB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01776, allocations: 28.05 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.01865, allocations: 498.2 kB / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.0187, allocations: 76.22 kB / 284.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01875, allocations: 13.48 kB / 284.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.01884, allocations: 79.34 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01884, allocations: 4 kB / 284.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of Templates: time 0.005145/0.02399, allocations: 2.474 MB / 286.9 MB, free: 3.109 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.658043048810214]