Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 115.5 kB / 17.69 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 192 kB / 18.63 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009585/0.0009585, allocations: 52.31 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08832, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003538/0.09189, allocations: 2.512 MB / 354 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.09294, allocations: 0.6544 MB / 354.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.09305, allocations: 4 kB / 354.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.09319, allocations: 35.64 kB / 354.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.09332, allocations: 79.28 kB / 354.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.09362, allocations: 79.84 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.09389, allocations: 278.8 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.09408, allocations: 84.92 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.09422, allocations: 119.4 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.09437, allocations: 107.5 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.09442, allocations: 24 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.09451, allocations: 35.98 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.09456, allocations: 55.83 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.09467, allocations: 123.4 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.09495, allocations: 279 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09496, allocations: 4 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09497, allocations: 0 / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.09498, allocations: 0 / 356 MB, free: 15.22 MB / 302.1 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.0007622/0.09574, allocations: 0.5302 MB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.09578, allocations: 15.97 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.09585, allocations: 28.66 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.09616, allocations: 236 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.09619, allocations: 16.81 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.09623, allocations: 20.31 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.09659, allocations: 199.6 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.09661, allocations: 0 / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.09664, allocations: 4 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.09665, allocations: 8 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.09695, allocations: 153.7 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.09824, allocations: 0.9333 MB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.09854, allocations: 158.6 kB / 358.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.09874, allocations: 96.83 kB / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.09877, allocations: 0 / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.0988, allocations: 42.5 kB / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.09881, allocations: 0 / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001193/0.1, allocations: 419.3 kB / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1001, allocations: 55.39 kB / 358.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1002, allocations: 175.2 kB / 359 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1002, allocations: 25.7 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.1003, allocations: 156.1 kB / 359.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1004, allocations: 63.09 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.1005, allocations: 33.7 kB / 359.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1006, allocations: 330.8 kB / 359.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1007, allocations: 47.97 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1008, allocations: 72.5 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.101, allocations: 133.6 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1011, allocations: 0 / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003965/0.1015, allocations: 225.1 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1015, allocations: 4 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1015, allocations: 0 / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.1029, allocations: 220.6 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1031, allocations: 31.98 kB / 360.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004652/0.1035, allocations: 0.6147 MB / 360.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1037, allocations: 11.84 kB / 360.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1037, allocations: 12.06 kB / 361 MB, free: 9.867 MB / 302.1 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 0.0001135/0.1038, allocations: 133.7 kB / 361.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.1039, allocations: 15.81 kB / 361.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1043, allocations: 228.3 kB / 361.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1043, allocations: 0 / 361.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1043, allocations: 0 / 361.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1043, allocations: 0 / 361.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.1052, allocations: 0.5961 MB / 361.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1052, allocations: 0 / 361.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1054, allocations: 43.84 kB / 362 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.1064, allocations: 196.6 kB / 362.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1065, allocations: 11.98 kB / 362.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004163/0.1069, allocations: 0.6186 MB / 362.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1069, allocations: 0 / 362.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.1077, allocations: 420.9 kB / 363.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1077, allocations: 100.8 kB / 363.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1078, allocations: 4 kB / 363.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1079, allocations: 7.984 kB / 363.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.108, allocations: 15.98 kB / 363.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.108, allocations: 12 kB / 363.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.1081, allocations: 132.3 kB / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1081, allocations: 0 / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1084, allocations: 55.84 kB / 363.5 MB, free: 7.156 MB / 302.1 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.0001572/0.1086, allocations: 107.2 kB / 363.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.1089, allocations: 150.9 kB / 363.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1089, allocations: 4.062 kB / 363.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.1091, allocations: 91.8 kB / 363.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1095, allocations: 27.94 kB / 363.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.1103, allocations: 0.5505 MB / 364.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1106, allocations: 0.74 MB / 365.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.1107, allocations: 13.55 kB / 365.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1107, allocations: 11.44 kB / 365.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1107, allocations: 4.094 kB / 365.2 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Templates: time 0.06675/0.1775, allocations: 2.538 MB / 367.8 MB, free: 2.887 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches