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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.0008874/0.0008875, allocations: 97.27 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 205.5 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 9.723 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002453, allocations: 8.281 kB / 308.4 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09554, allocations: 51.52 MB / 359.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002874/0.09846, allocations: 2.225 MB / 362.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.09981, allocations: 0.6935 MB / 362.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1, allocations: 4 kB / 362.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1002, allocations: 23.84 kB / 362.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1004, allocations: 63.47 kB / 362.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1008, allocations: 79.86 kB / 363 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1011, allocations: 270.7 kB / 363.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1013, allocations: 72.78 kB / 363.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1016, allocations: 99.56 kB / 363.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1019, allocations: 103.5 kB / 363.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.1019, allocations: 12 kB / 363.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1021, allocations: 27.98 kB / 363.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.1022, allocations: 39.83 kB / 363.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1023, allocations: 137.1 kB / 363.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1027, allocations: 207.7 kB / 363.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1027, allocations: 4 kB / 363.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1027, allocations: 4 kB / 363.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1027, allocations: 0 / 363.9 MB, free: 9.031 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.0009794/0.1037, allocations: 0.4912 MB / 364.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1038, allocations: 12.03 kB / 364.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.104, allocations: 44.58 kB / 364.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1043, allocations: 251.7 kB / 364.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1044, allocations: 12.81 kB / 364.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.1044, allocations: 28.36 kB / 364.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.1048, allocations: 191.6 kB / 365 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1049, allocations: 0 / 365 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1049, allocations: 8 kB / 365 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1049, allocations: 4 kB / 365 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.1052, allocations: 157.7 kB / 365.1 MB, free: 7.75 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.001406/0.1066, allocations: 0.9336 MB / 366.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.107, allocations: 158.5 kB / 366.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1072, allocations: 96.83 kB / 366.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1072, allocations: 7.984 kB / 366.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1072, allocations: 34.56 kB / 366.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1073, allocations: 4 kB / 366.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001326/0.1086, allocations: 433.8 kB / 366.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1086, allocations: 55.34 kB / 366.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1088, allocations: 184.3 kB / 367 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1089, allocations: 37.69 kB / 367.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.109, allocations: 140.2 kB / 367.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.109, allocations: 63.09 kB / 367.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.1091, allocations: 21.7 kB / 367.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1092, allocations: 326.8 kB / 367.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1093, allocations: 55.91 kB / 367.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1095, allocations: 80.69 kB / 367.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1097, allocations: 128.3 kB / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1097, allocations: 0 / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004359/0.1102, allocations: 224.5 kB / 368.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1102, allocations: 11.98 kB / 368.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1102, allocations: 0 / 368.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.1116, allocations: 228.5 kB / 368.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1117, allocations: 31.98 kB / 368.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004849/0.1122, allocations: 0.6185 MB / 369 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1124, allocations: 19.88 kB / 369 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1124, allocations: 4 kB / 369 MB, free: 3.652 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.0001376/0.1125, allocations: 137.8 kB / 369.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.1126, allocations: 19.81 kB / 369.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.1131, allocations: 232.2 kB / 369.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1131, allocations: 0 / 369.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1131, allocations: 0 / 369.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1131, allocations: 0 / 369.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.114, allocations: 0.5974 MB / 370 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.114, allocations: 0 / 370 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1142, allocations: 31.97 kB / 370 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.1153, allocations: 228.5 kB / 370.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1153, allocations: 4 kB / 370.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004781/0.1158, allocations: 0.6186 MB / 370.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1158, allocations: 8.047 kB / 370.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.1167, allocations: 432.8 kB / 371.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.1168, allocations: 92.89 kB / 371.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1168, allocations: 8 kB / 371.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.117, allocations: 7.984 kB / 371.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.117, allocations: 15.98 kB / 371.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.117, allocations: 4 kB / 371.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1172, allocations: 133.2 kB / 371.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.1172, allocations: 4.062 kB / 371.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.1175, allocations: 63.69 kB / 371.6 MB, free: 0.8906 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.0002002/0.1177, allocations: 103.2 kB / 371.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.1182, allocations: 149.2 kB / 371.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1182, allocations: 0 / 371.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.1184, allocations: 91.95 kB / 371.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1188, allocations: 31.92 kB / 371.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1615/0.2803, allocations: 0.7309 MB / 372.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2806, allocations: 0.7388 MB / 373.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.2807, allocations: 16.84 kB / 373.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.041e-06/0.2807, allocations: 0 / 373.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of Templates: time 0.006979/0.2877, allocations: 3.095 MB / 376.5 MB, free: 18.5 MB / 302.1 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/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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches