Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 69.23 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09859, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004229/0.1029, allocations: 2.538 MB / 361 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1044, allocations: 0.6895 MB / 361.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1046, allocations: 7.938 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1048, allocations: 39.58 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.1049, allocations: 71.34 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1053, allocations: 99.81 kB / 361.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1057, allocations: 278.7 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1059, allocations: 96.31 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.1061, allocations: 107.6 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1063, allocations: 115.5 kB / 362.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.1064, allocations: 24 kB / 362.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1065, allocations: 43.98 kB / 362.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.1065, allocations: 47.78 kB / 362.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1067, allocations: 123.4 kB / 362.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.107, allocations: 291.2 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1071, allocations: 7.938 kB / 363 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1071, allocations: 0 / 363 MB, free: 9.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1071, allocations: 0 / 363 MB, free: 9.379 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.000921/0.108, allocations: 0.5341 MB / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.108, allocations: 8.031 kB / 363.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1082, allocations: 40.64 kB / 363.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1085, allocations: 239.8 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1086, allocations: 16.81 kB / 363.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.1086, allocations: 16.38 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.109, allocations: 203.5 kB / 364 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1091, allocations: 0 / 364 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1091, allocations: 4 kB / 364 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.1091, allocations: 8 kB / 364 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.1094, allocations: 157.6 kB / 364.2 MB, free: 8.07 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.001499/0.1109, allocations: 0.918 MB / 365.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1113, allocations: 158.5 kB / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1115, allocations: 100.8 kB / 365.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1116, allocations: 0 / 365.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1116, allocations: 34.56 kB / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.1116, allocations: 0 / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00137/0.113, allocations: 425.1 kB / 365.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.113, allocations: 51.41 kB / 365.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1132, allocations: 184.3 kB / 366 MB, free: 6.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1133, allocations: 29.7 kB / 366.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1134, allocations: 148.1 kB / 366.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.1134, allocations: 59.19 kB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.1135, allocations: 37.7 kB / 366.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1137, allocations: 334.8 kB / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1138, allocations: 51.97 kB / 366.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.114, allocations: 75.5 kB / 366.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1142, allocations: 121.6 kB / 366.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1142, allocations: 4 kB / 366.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004275/0.1147, allocations: 221.5 kB / 367.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1147, allocations: 8 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1147, allocations: 0 / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.1161, allocations: 216.6 kB / 367.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1162, allocations: 39.91 kB / 367.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.1168, allocations: 0.6069 MB / 368 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1169, allocations: 11.97 kB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.1169, allocations: 4 kB / 368 MB, free: 4.031 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.0001615/0.1171, allocations: 141.8 kB / 368.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.1172, allocations: 19.8 kB / 368.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.1177, allocations: 228.2 kB / 368.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1177, allocations: 4 kB / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1177, allocations: 0 / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1177, allocations: 3.938 kB / 368.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009753/0.1187, allocations: 0.6037 MB / 369 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1187, allocations: 0 / 369 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1189, allocations: 27.92 kB / 369 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.12, allocations: 196.7 kB / 369.2 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1201, allocations: 12 kB / 369.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.1207, allocations: 0.6186 MB / 369.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1207, allocations: 3.938 kB / 369.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.1215, allocations: 420.9 kB / 370.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.1216, allocations: 100.8 kB / 370.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1217, allocations: 8 kB / 370.3 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1218, allocations: 8 kB / 370.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.1219, allocations: 7.984 kB / 370.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1219, allocations: 8.062 kB / 370.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.122, allocations: 136.1 kB / 370.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1221, allocations: 0 / 370.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1224, allocations: 59.84 kB / 370.6 MB, free: 1.301 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.0001986/0.1226, allocations: 111.2 kB / 370.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.123, allocations: 146.4 kB / 370.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.123, allocations: 4.062 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1232, allocations: 87.89 kB / 370.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1236, allocations: 35.95 kB / 370.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1248, allocations: 0.5734 MB / 371.5 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1552/0.28, allocations: 0.7386 MB / 372.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.2801, allocations: 15.66 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2802, allocations: 0.5938 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of Templates: time 0.006568/0.2867, allocations: 3.14 MB / 375.4 MB, free: 19.6 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches