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.0009945/0.0009945, allocations: 180 kB / 17.01 MB, free: 5.125 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.519/1.519, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008545/0.0008548, allocations: 94.7 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.000275, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3669, allocations: 78.06 MB / 453.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3671, allocations: 75.95 kB / 453.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.3781, allocations: 3.971 MB / 457.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3781, allocations: 0 / 457.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3782, allocations: 4 kB / 457.9 MB, free: 14.54 MB / 346.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.0006803/0.3789, allocations: 0.4989 MB / 458.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3789, allocations: 8.031 kB / 458.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.379, allocations: 23.72 kB / 458.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3792, allocations: 223.5 kB / 458.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3793, allocations: 16.39 kB / 458.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.3793, allocations: 20 kB / 458.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.3797, allocations: 191.3 kB / 458.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3797, allocations: 7.906 kB / 458.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.3797, allocations: 8 kB / 458.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3797, allocations: 4 kB / 458.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.38, allocations: 161.5 kB / 459.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.3813, allocations: 0.8633 MB / 459.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.3817, allocations: 146.5 kB / 460.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3817, allocations: 8.078 kB / 460.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3817, allocations: 38.5 kB / 460.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.3817, allocations: 0 / 460.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001284/0.383, allocations: 424.3 kB / 460.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3831, allocations: 55.41 kB / 460.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3832, allocations: 155.3 kB / 460.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3833, allocations: 33.7 kB / 460.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.3834, allocations: 144.1 kB / 460.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.3834, allocations: 63.09 kB / 461 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.3834, allocations: 4 kB / 461 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3836, allocations: 326.8 kB / 461.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3837, allocations: 48.36 kB / 461.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3838, allocations: 82.48 kB / 461.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3839, allocations: 64.47 kB / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.384, allocations: 0 / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000409/0.3844, allocations: 230 kB / 461.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3844, allocations: 4 kB / 461.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3844, allocations: 4 kB / 461.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.3858, allocations: 228.6 kB / 461.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3859, allocations: 27.98 kB / 462 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/0.3864, allocations: 0.6187 MB / 462.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3865, allocations: 11.91 kB / 462.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3866, allocations: 7.938 kB / 462.6 MB, free: 9.539 MB / 346.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 (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 0.0001233/0.3867, allocations: 129.8 kB / 462.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.3867, allocations: 15.91 kB / 462.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.3872, allocations: 244.2 kB / 463 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3872, allocations: 0 / 463 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3872, allocations: 0 / 463 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3872, allocations: 7.953 kB / 463 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.3875, allocations: 285.5 kB / 463.3 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3875, allocations: 0 / 463.3 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3877, allocations: 23.98 kB / 463.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.3888, allocations: 216.6 kB / 463.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3888, allocations: 7.938 kB / 463.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004032/0.3893, allocations: 0.6225 MB / 464.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3893, allocations: 0 / 464.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.3898, allocations: 380.6 kB / 464.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.3899, allocations: 104.8 kB / 464.6 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.3899, allocations: 12 kB / 464.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3901, allocations: 19.97 kB / 464.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3901, allocations: 7.984 kB / 464.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3902, allocations: 8.078 kB / 464.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.3903, allocations: 135.4 kB / 464.8 MB, free: 7.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3903, allocations: 0 / 464.8 MB, free: 7.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.3906, allocations: 67.84 kB / 464.9 MB, free: 7.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001723/0.3908, allocations: 111.2 kB / 465 MB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3912, allocations: 160.9 kB / 465.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3912, allocations: 0 / 465.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3914, allocations: 85.17 kB / 465.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3916, allocations: 24.39 kB / 465.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.3926, allocations: 0.6745 MB / 465.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3929, allocations: 0.7441 MB / 466.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.393, allocations: 9.562 kB / 466.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.393, allocations: 19.42 kB / 466.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.393, allocations: 0 / 466.7 MB, free: 5.27 MB / 346.7 MB Notification: Performance of Templates: time 0.005155/0.3982, allocations: 2.271 MB / 468.9 MB, free: 3.02 MB / 346.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