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.0009381/0.0009381, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001066/0.001066, allocations: 173.6 kB / 24.91 MB, free: 8.723 MB / 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.9585/0.9585, allocations: 177.1 MB / 205.3 MB, free: 5.438 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.654e-06/1.654e-06, allocations: 0 / 273.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.578e-05, allocations: 2.312 kB / 273.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002423/0.002438, allocations: 2.596 MB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009296/0.003368, allocations: 0.7048 MB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.003456, allocations: 3.938 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003574, allocations: 35.64 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.003662, allocations: 83.2 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.00387, allocations: 95.75 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.004071, allocations: 290.6 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.004191, allocations: 66.48 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.004371, allocations: 163.6 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004486, allocations: 91.7 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.004512, allocations: 20 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.004589, allocations: 47.91 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.004618, allocations: 51.83 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.004673, allocations: 83.77 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004873, allocations: 207.2 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004875, allocations: 4 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004876, allocations: 4 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.004879, allocations: 0 / 278 MB, free: 12.66 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.0004469/0.005326, allocations: 444.2 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.005355, allocations: 8.031 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.005468, allocations: 48.89 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.00563, allocations: 165.4 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005642, allocations: 16.88 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.00567, allocations: 24.38 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.005831, allocations: 196.8 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.00584, allocations: 192 / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.005854, allocations: 8.375 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.005861, allocations: 11.94 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.005945, allocations: 61.39 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.006529, allocations: 0.5005 MB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.006658, allocations: 90.52 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.006728, allocations: 60.77 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.006743, allocations: 7.938 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.006761, allocations: 30.56 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.006762, allocations: 4 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004744/0.007236, allocations: 236.8 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.00726, allocations: 55.41 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.007342, allocations: 166.6 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.007357, allocations: 33.7 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.007409, allocations: 136.4 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.007437, allocations: 59.45 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.007477, allocations: 37.69 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.007551, allocations: 330.8 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.007575, allocations: 20 kB / 280.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.007612, allocations: 37.69 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.625e-05/0.007688, allocations: 76.48 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00769, allocations: 0 / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001437/0.007833, allocations: 130.3 kB / 281 MB, free: 9.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.007844, allocations: 4 kB / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007849, allocations: 0 / 281 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.008335, allocations: 160.7 kB / 281.1 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.008442, allocations: 47.91 kB / 281.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/0.008679, allocations: 0.5601 MB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.008724, allocations: 15.89 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008732, allocations: 3.984 kB / 281.7 MB, free: 8.695 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 6.594e-05/0.008798, allocations: 113.8 kB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.008824, allocations: 23.92 kB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.009001, allocations: 136.2 kB / 282 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.009007, allocations: 12.02 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009008, allocations: 0 / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.009013, allocations: 0 / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.009416, allocations: 360.1 kB / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009417, allocations: 0 / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.009531, allocations: 38.47 kB / 282.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.00996, allocations: 152.7 kB / 282.6 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.009972, allocations: 4 kB / 282.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002443/0.01022, allocations: 0.5795 MB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01022, allocations: 0 / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.01054, allocations: 310.8 kB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.0106, allocations: 15.84 kB / 283.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01061, allocations: 0 / 283.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.01068, allocations: 12 kB / 283.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.01072, allocations: 23.88 kB / 283.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01073, allocations: 4 kB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.01076, allocations: 41.88 kB / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01076, allocations: 0 / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.01095, allocations: 59.84 kB / 283.6 MB, free: 6.742 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.0001068/0.01105, allocations: 88.41 kB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.01123, allocations: 89.86 kB / 283.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01123, allocations: 4 kB / 283.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.01131, allocations: 61.95 kB / 283.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.01149, allocations: 23.98 kB / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.01227, allocations: 499.1 kB / 284.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01231, allocations: 80.22 kB / 284.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01235, allocations: 9.484 kB / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.01244, allocations: 79.36 kB / 284.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01244, allocations: 4 kB / 284.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of Templates: time 0.00439/0.01683, allocations: 2.472 MB / 287 MB, free: 3.332 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 -s gbode -gbm=radauIIA3 -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.6426622308790684]