Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008364/0.0008365, allocations: 78.73 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.146e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09711, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4399, allocations: 77.95 MB / 448 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4403, allocations: 74.14 kB / 448 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.4513, allocations: 3.964 MB / 452 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4513, allocations: 0 / 452 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.4513, allocations: 4 kB / 452 MB, free: 11.89 MB / 330.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.000648/0.452, allocations: 479.7 kB / 452.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.452, allocations: 12.03 kB / 452.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.4521, allocations: 27.72 kB / 452.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4524, allocations: 230.3 kB / 452.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4524, allocations: 19.08 kB / 452.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4525, allocations: 23.05 kB / 452.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.4528, allocations: 174.5 kB / 453 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4529, allocations: 0 / 453 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.4529, allocations: 5.75 kB / 453 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4529, allocations: 8 kB / 453 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.4532, allocations: 143.8 kB / 453.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.4545, allocations: 0.8705 MB / 454 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4548, allocations: 142.2 kB / 454.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.455, allocations: 89.88 kB / 454.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.455, allocations: 4 kB / 454.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4551, allocations: 34.5 kB / 454.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.4551, allocations: 0 / 454.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005393/0.4556, allocations: 198 kB / 454.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4557, allocations: 55.41 kB / 454.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4558, allocations: 156.7 kB / 454.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4559, allocations: 33.02 kB / 454.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.456, allocations: 145.6 kB / 454.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.456, allocations: 69.64 kB / 454.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.4561, allocations: 0 / 454.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4562, allocations: 326.2 kB / 455.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.4563, allocations: 54.12 kB / 455.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.4564, allocations: 67.2 kB / 455.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.4565, allocations: 53.92 kB / 455.4 MB, free: 8.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4565, allocations: 0 / 455.4 MB, free: 8.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003733/0.4569, allocations: 211.7 kB / 455.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4569, allocations: 8 kB / 455.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4569, allocations: 0 / 455.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.4582, allocations: 217.2 kB / 455.8 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4584, allocations: 38.78 kB / 455.8 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004715/0.4589, allocations: 0.6086 MB / 456.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.459, allocations: 23.02 kB / 456.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.459, allocations: 4 kB / 456.5 MB, free: 7.754 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.4591, allocations: 115.8 kB / 456.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.4592, allocations: 15.81 kB / 456.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.4596, allocations: 216.2 kB / 456.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4596, allocations: 0 / 456.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4596, allocations: 3.953 kB / 456.8 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4596, allocations: 3.984 kB / 456.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/0.4604, allocations: 0.5779 MB / 457.4 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4605, allocations: 4 kB / 457.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.4606, allocations: 28.02 kB / 457.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.4617, allocations: 224.1 kB / 457.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4617, allocations: 3.125 kB / 457.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004394/0.4622, allocations: 0.6199 MB / 458.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4622, allocations: 0 / 458.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.4627, allocations: 386 kB / 458.7 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.4628, allocations: 96.89 kB / 458.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.4628, allocations: 7.359 kB / 458.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.463, allocations: 19.52 kB / 458.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.463, allocations: 7.984 kB / 458.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.463, allocations: 7.188 kB / 458.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.4631, allocations: 124.5 kB / 458.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4632, allocations: 4 kB / 458.9 MB, free: 5.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.4635, allocations: 70.89 kB / 459 MB, free: 5.43 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.4636, allocations: 114.8 kB / 459.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.464, allocations: 134.5 kB / 459.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.464, allocations: 0 / 459.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4641, allocations: 80.42 kB / 459.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4644, allocations: 33.31 kB / 459.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.4651, allocations: 380.2 kB / 459.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.4654, allocations: 0.7402 MB / 460.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.4655, allocations: 17.33 kB / 460.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.4655, allocations: 15.38 kB / 460.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4655, allocations: 4 kB / 460.5 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Templates: time 0.005305/0.4708, allocations: 2.286 MB / 462.8 MB, free: 1.633 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches