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.0009195/0.0009195, allocations: 84.73 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.001002/0.001002, allocations: 163.3 kB / 24.91 MB, free: 8.766 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.8934/0.8934, allocations: 177 MB / 205.2 MB, free: 5.43 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.764e-06/1.764e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.723e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004028/0.004055, allocations: 2.553 MB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.005627, allocations: 0.7009 MB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.005805, allocations: 4 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.005977, allocations: 39.58 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.006165, allocations: 87.2 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.006543, allocations: 91.75 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.006908, allocations: 294.6 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.007089, allocations: 58.5 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.007467, allocations: 171.6 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.00765, allocations: 87.7 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.007696, allocations: 20 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.00782, allocations: 51.91 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.007868, allocations: 51.83 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.00796, allocations: 87.75 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.008317, allocations: 195.4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.008321, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.008322, allocations: 3.938 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.008331, allocations: 0 / 277.9 MB, free: 12.7 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.0009105/0.009241, allocations: 456.1 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.009283, allocations: 11.98 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.009441, allocations: 48.89 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.00967, allocations: 165.4 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.009689, allocations: 16.88 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.009738, allocations: 20.38 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.009994, allocations: 200.7 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01001, allocations: 4.188 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01003, allocations: 16.31 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01003, allocations: 7.938 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01016, allocations: 57.41 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.01112, allocations: 0.4966 MB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01132, allocations: 102.5 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.01143, allocations: 52.83 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.01145, allocations: 0 / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.01148, allocations: 42.5 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.01149, allocations: 0 / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007233/0.01221, allocations: 229.6 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.01224, allocations: 59.39 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01237, allocations: 166.6 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.01239, allocations: 33.7 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.01247, allocations: 140.4 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.01251, allocations: 63.45 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.01257, allocations: 33.7 kB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01268, allocations: 330.8 kB / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.01273, allocations: 16 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.01278, allocations: 41.67 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.01288, allocations: 76.81 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01288, allocations: 0 / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002241/0.01311, allocations: 130.4 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01312, allocations: 4 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01313, allocations: 0 / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/0.01381, allocations: 160.7 kB / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.01388, allocations: 31.98 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002837/0.01417, allocations: 0.5679 MB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.01423, allocations: 11.89 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01424, allocations: 8 kB / 281.6 MB, free: 8.73 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.756e-05/0.01432, allocations: 117.9 kB / 281.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.01434, allocations: 11.98 kB / 281.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01453, allocations: 152.1 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01453, allocations: 0 / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.01454, allocations: 4 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01454, allocations: 0 / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.01496, allocations: 360 kB / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01496, allocations: 0 / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.01504, allocations: 32 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.01545, allocations: 152.7 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01546, allocations: 0 / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002608/0.01572, allocations: 0.5718 MB / 283 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01572, allocations: 0 / 283 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.01603, allocations: 300.1 kB / 283.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.01605, allocations: 23.89 kB / 283.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.01607, allocations: 8 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.01613, allocations: 8 kB / 283.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.01616, allocations: 15.97 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01616, allocations: 0 / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.0162, allocations: 45.88 kB / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0162, allocations: 0 / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.01638, allocations: 63.78 kB / 283.4 MB, free: 6.793 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.0001238/0.01651, allocations: 84.42 kB / 283.5 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.01668, allocations: 97.77 kB / 283.6 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.01668, allocations: 4 kB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.01675, allocations: 61 kB / 283.7 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.01692, allocations: 32.05 kB / 283.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.01776, allocations: 494.4 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.01781, allocations: 76.22 kB / 284.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.01785, allocations: 17.42 kB / 284.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.01792, allocations: 75.36 kB / 284.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01792, allocations: 3.938 kB / 284.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of Templates: time 0.004424/0.02234, allocations: 2.375 MB / 286.7 MB, free: 3.469 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 -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.6264708507806063]