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.001429/0.001429, allocations: 179.7 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 214.4 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 86.72 kB / 262.5 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.76e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09807, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.4061, allocations: 77.54 MB / 440.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.4064, allocations: 67.72 kB / 440.7 MB, free: 2.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4167, allocations: 3.926 MB / 444.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4168, allocations: 3.984 kB / 444.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4168, allocations: 4 kB / 444.6 MB, free: 14.8 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.0006214/0.4174, allocations: 480.6 kB / 445.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4174, allocations: 8.031 kB / 445.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.4175, allocations: 23.72 kB / 445.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4178, allocations: 234 kB / 445.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4178, allocations: 11.95 kB / 445.3 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4178, allocations: 12 kB / 445.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000249/0.4181, allocations: 120.7 kB / 445.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.4184, allocations: 155.6 kB / 445.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4184, allocations: 0 / 445.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.4184, allocations: 4 kB / 445.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4184, allocations: 6.078 kB / 445.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.4197, allocations: 0.8124 MB / 446.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.4199, allocations: 137.3 kB / 446.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4201, allocations: 89.88 kB / 446.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4201, allocations: 0 / 446.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4202, allocations: 30.56 kB / 446.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.4202, allocations: 8 kB / 446.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005533/0.4207, allocations: 196.5 kB / 446.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.4208, allocations: 51.41 kB / 447 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4209, allocations: 153.2 kB / 447.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4209, allocations: 25.7 kB / 447.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.421, allocations: 147.2 kB / 447.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.4211, allocations: 68.41 kB / 447.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4211, allocations: 0 / 447.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4212, allocations: 325.3 kB / 447.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.4213, allocations: 45.94 kB / 447.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.4214, allocations: 56.14 kB / 447.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4216, allocations: 72.44 kB / 447.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4216, allocations: 0 / 447.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004098/0.422, allocations: 214.2 kB / 448 MB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.422, allocations: 4 kB / 448 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.422, allocations: 0 / 448 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/0.4226, allocations: 103.7 kB / 448.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4227, allocations: 31.73 kB / 448.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005408/0.4233, allocations: 0.6207 MB / 448.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.4234, allocations: 27.86 kB / 448.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4234, allocations: 6.75 kB / 448.8 MB, free: 10.85 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 9.252e-05/0.4235, allocations: 101.9 kB / 448.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.4236, allocations: 15.81 kB / 448.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.424, allocations: 206.1 kB / 449.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4241, allocations: 4 kB / 449.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4241, allocations: 4 kB / 449.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4241, allocations: 7.969 kB / 449.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.4249, allocations: 0.5432 MB / 449.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4249, allocations: 4 kB / 449.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.425, allocations: 23.98 kB / 449.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.4255, allocations: 114.7 kB / 449.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4255, allocations: 0 / 449.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/0.426, allocations: 0.6339 MB / 450.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.426, allocations: 3.938 kB / 450.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.4266, allocations: 386.1 kB / 450.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.4266, allocations: 92.89 kB / 450.9 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4267, allocations: 4 kB / 451 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4268, allocations: 7.984 kB / 451 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.4269, allocations: 19.86 kB / 451 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4269, allocations: 7.953 kB / 451 MB, free: 8.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.427, allocations: 118.8 kB / 451.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.427, allocations: 0 / 451.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.4273, allocations: 67.84 kB / 451.2 MB, free: 8.66 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.0002068/0.4275, allocations: 107.2 kB / 451.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.4279, allocations: 128 kB / 451.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4279, allocations: 0 / 451.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4281, allocations: 75.36 kB / 451.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4284, allocations: 28.02 kB / 451.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.4293, allocations: 364.5 kB / 451.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.4297, allocations: 0.736 MB / 452.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.4298, allocations: 13.22 kB / 452.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.4298, allocations: 15.42 kB / 452.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4298, allocations: 0 / 452.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of Templates: time 0.005142/0.4349, allocations: 2.118 MB / 454.7 MB, free: 5.129 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