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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 99.08 kB / 16.94 MB, free: 5.961 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.0009406/0.0009409, allocations: 181.9 kB / 17.82 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008446/0.0008448, allocations: 16 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1001, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002354/0.1025, allocations: 1.98 MB / 330.3 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1036, allocations: 0.656 MB / 331 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1038, allocations: 7.938 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.941e-05/0.1039, allocations: 23.83 kB / 331 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1041, allocations: 79.75 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1043, allocations: 55.88 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1046, allocations: 183.6 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1048, allocations: 64.8 kB / 331.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.1049, allocations: 91.62 kB / 331.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1051, allocations: 103.6 kB / 331.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1051, allocations: 12 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1052, allocations: 19.98 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1053, allocations: 39.84 kB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.1053, allocations: 69.58 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1055, allocations: 203.7 kB / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1055, allocations: 0 / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1055, allocations: 0 / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1056, allocations: 0 / 331.9 MB, free: 0.5 MB / 270.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.0007574/0.1063, allocations: 498.9 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1064, allocations: 12.03 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.1064, allocations: 23.72 kB / 332.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1067, allocations: 239.3 kB / 332.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1067, allocations: 16.39 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.1068, allocations: 20 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1071, allocations: 191.2 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1072, allocations: 0 / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1072, allocations: 16 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1072, allocations: 4 kB / 332.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.1075, allocations: 153.7 kB / 333 MB, free: 15.25 MB / 286.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.001604/0.1092, allocations: 0.9336 MB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.1095, allocations: 158.5 kB / 334.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1095, allocations: 0 / 334.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1096, allocations: 34.56 kB / 334.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.1096, allocations: 0 / 334.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001321/0.1109, allocations: 431.4 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.111, allocations: 51.41 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1111, allocations: 167.1 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1112, allocations: 29.7 kB / 334.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.1113, allocations: 144.2 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.1113, allocations: 63.11 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.1114, allocations: 4 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1115, allocations: 330.8 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1116, allocations: 52.34 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1117, allocations: 70.44 kB / 335.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1119, allocations: 67.91 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1119, allocations: 3.938 kB / 335.6 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004172/0.1123, allocations: 230.2 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1123, allocations: 7.281 kB / 335.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1124, allocations: 7.938 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.1136, allocations: 220.6 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1138, allocations: 31.98 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000516/0.1143, allocations: 0.6186 MB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1145, allocations: 19.83 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1145, allocations: 4 kB / 336.7 MB, free: 11.39 MB / 286.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 (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 0.0001483/0.1146, allocations: 125.8 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.1147, allocations: 15.81 kB / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.1152, allocations: 240.3 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1152, allocations: 0 / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1152, allocations: 0 / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1152, allocations: 7.953 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1155, allocations: 293.4 kB / 337.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1155, allocations: 0 / 337.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1157, allocations: 23.98 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.1167, allocations: 224.6 kB / 337.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1168, allocations: 0 / 337.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/0.1172, allocations: 0.6264 MB / 338.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1172, allocations: 80 / 338.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.1177, allocations: 388.8 kB / 338.6 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1178, allocations: 100.8 kB / 338.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1178, allocations: 4 kB / 338.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.118, allocations: 16.08 kB / 338.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.118, allocations: 15.98 kB / 338.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1181, allocations: 4 kB / 338.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1182, allocations: 131.5 kB / 338.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1182, allocations: 0 / 338.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1185, allocations: 55.84 kB / 338.9 MB, free: 9.012 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001514/0.1186, allocations: 111.2 kB / 339 MB, free: 8.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.119, allocations: 163.9 kB / 339.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.119, allocations: 0 / 339.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1192, allocations: 91.89 kB / 339.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1195, allocations: 19.98 kB / 339.3 MB, free: 8.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1206, allocations: 0.6824 MB / 340 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.121, allocations: 0.7402 MB / 340.7 MB, free: 7.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.121, allocations: 9.562 kB / 340.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.1211, allocations: 15.44 kB / 340.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1211, allocations: 0 / 340.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of Templates: time 0.005205/0.1263, allocations: 2.275 MB / 343 MB, free: 4.859 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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