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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008995/0.0008996, allocations: 96.47 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.43e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4342, allocations: 79.7 MB / 474.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4344, allocations: 70.17 kB / 474.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.4448, allocations: 4.142 MB / 479.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4448, allocations: 0 / 479.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4449, allocations: 4 kB / 479.1 MB, free: 9.977 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.0005706/0.4454, allocations: 493 kB / 479.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4455, allocations: 8.031 kB / 479.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.4457, allocations: 39.7 kB / 479.6 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4459, allocations: 231 kB / 479.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4459, allocations: 11.61 kB / 479.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.446, allocations: 12 kB / 479.9 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.4462, allocations: 125.2 kB / 480 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.4464, allocations: 149.1 kB / 480.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4465, allocations: 3 kB / 480.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.4465, allocations: 3.984 kB / 480.1 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4465, allocations: 4 kB / 480.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4475, allocations: 0.8147 MB / 480.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.4478, allocations: 137.3 kB / 481.1 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.4479, allocations: 82.88 kB / 481.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.448, allocations: 7.984 kB / 481.2 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.448, allocations: 40.31 kB / 481.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.448, allocations: 0 / 481.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005447/0.4485, allocations: 201.8 kB / 481.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.4486, allocations: 51.41 kB / 481.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4487, allocations: 151.5 kB / 481.6 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4487, allocations: 25.7 kB / 481.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.4488, allocations: 153.5 kB / 481.8 MB, free: 7.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.4488, allocations: 58.53 kB / 481.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.4488, allocations: 4 kB / 481.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.4489, allocations: 318.6 kB / 482.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.449, allocations: 42 kB / 482.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.4491, allocations: 63.14 kB / 482.3 MB, free: 7.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4492, allocations: 68.42 kB / 482.3 MB, free: 6.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4492, allocations: 4 kB / 482.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003725/0.4496, allocations: 207 kB / 482.5 MB, free: 6.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4497, allocations: 8 kB / 482.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4497, allocations: 0 / 482.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.4502, allocations: 98.73 kB / 482.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4503, allocations: 31.98 kB / 482.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/0.4507, allocations: 0.6294 MB / 483.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.4509, allocations: 19.92 kB / 483.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4509, allocations: 4 kB / 483.3 MB, free: 6.027 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 () * 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 6.858e-05/0.451, allocations: 105 kB / 483.4 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.451, allocations: 15.81 kB / 483.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.4514, allocations: 211.8 kB / 483.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4514, allocations: 4 kB / 483.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4514, allocations: 0 / 483.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4514, allocations: 7.938 kB / 483.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.4521, allocations: 0.5414 MB / 484.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4521, allocations: 0 / 484.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4523, allocations: 35.97 kB / 484.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.4527, allocations: 102.1 kB / 484.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4527, allocations: 4 kB / 484.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003814/0.4531, allocations: 0.6404 MB / 485 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4531, allocations: 0 / 485 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.4536, allocations: 386.6 kB / 485.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.4536, allocations: 100.1 kB / 485.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.4537, allocations: 3.125 kB / 485.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4538, allocations: 11.98 kB / 485.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.4539, allocations: 11.94 kB / 485.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4539, allocations: 11.69 kB / 485.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.4539, allocations: 116.2 kB / 485.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.454, allocations: 4.062 kB / 485.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000305/0.4543, allocations: 59.78 kB / 485.7 MB, free: 3.84 MB / 346.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.0001529/0.4544, allocations: 111.2 kB / 485.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4547, allocations: 123.4 kB / 485.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4547, allocations: 3.625 kB / 485.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4548, allocations: 70.17 kB / 486 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4551, allocations: 26.8 kB / 486 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.4557, allocations: 375.3 kB / 486.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.4559, allocations: 0.7438 MB / 487.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.4559, allocations: 17.19 kB / 487.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.456, allocations: 15.44 kB / 487.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.456, allocations: 0 / 487.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of Templates: time 0.004352/0.4603, allocations: 2.117 MB / 489.3 MB, free: 368 kB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches