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.0008901/0.0008901, allocations: 99.23 kB / 16.96 MB, free: 6.449 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.0008035/0.0008036, allocations: 181.8 kB / 17.84 MB, free: 6.008 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.636/1.636, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004577/0.0004577, allocations: 20.94 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1004, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002414/0.1029, allocations: 2.076 MB / 330.4 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.1039, allocations: 0.6403 MB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.104, allocations: 4 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1042, allocations: 31.77 kB / 331.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.1043, allocations: 55.53 kB / 331.2 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1045, allocations: 51.88 kB / 331.2 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1048, allocations: 258.8 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.105, allocations: 72.66 kB / 331.5 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1051, allocations: 91.64 kB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1053, allocations: 91.61 kB / 331.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1053, allocations: 12 kB / 331.7 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.1054, allocations: 35.97 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.1054, allocations: 35.84 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.1055, allocations: 69.58 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1057, allocations: 199.7 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1057, allocations: 0 / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1057, allocations: 0 / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1058, allocations: 0 / 332.1 MB, free: 340 kB / 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.0007642/0.1065, allocations: 0.4912 MB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1066, allocations: 8.031 kB / 332.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.1067, allocations: 23.72 kB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1069, allocations: 239.2 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1069, allocations: 20.39 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.107, allocations: 16 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.1073, allocations: 195.3 kB / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1074, allocations: 0 / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1074, allocations: 8 kB / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1074, allocations: 8 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1077, allocations: 149.7 kB / 333.2 MB, free: 15.09 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.001202/0.1089, allocations: 0.9375 MB / 334.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1092, allocations: 152.5 kB / 334.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.1094, allocations: 104.9 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1094, allocations: 4 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1094, allocations: 38.56 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.715e-06/0.1094, allocations: 0 / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001148/0.1106, allocations: 431.3 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1107, allocations: 63.34 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1108, allocations: 163.1 kB / 335.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1108, allocations: 29.7 kB / 335.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.1109, allocations: 148.2 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.111, allocations: 55.11 kB / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.111, allocations: 8 kB / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1111, allocations: 318.8 kB / 335.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1112, allocations: 56.34 kB / 335.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1114, allocations: 78.38 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1115, allocations: 63.91 kB / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1115, allocations: 0 / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004017/0.1119, allocations: 230.2 kB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1119, allocations: 4 kB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1119, allocations: 0 / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.1131, allocations: 224.6 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1132, allocations: 39.92 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004209/0.1137, allocations: 0.607 MB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1138, allocations: 19.83 kB / 336.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1138, allocations: 4 kB / 336.9 MB, free: 11.12 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.0001286/0.114, allocations: 133.8 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.114, allocations: 15.81 kB / 337.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.1144, allocations: 228.3 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.1144, allocations: 4 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1145, allocations: 7.891 kB / 337.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1145, allocations: 0 / 337.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.1153, allocations: 0.6045 MB / 337.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1153, allocations: 0 / 337.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1154, allocations: 27.98 kB / 337.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/0.1164, allocations: 220.6 kB / 338.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1164, allocations: 4 kB / 338.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000374/0.1168, allocations: 0.6148 MB / 338.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1168, allocations: 80 / 338.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.1175, allocations: 437.1 kB / 339.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1175, allocations: 100.9 kB / 339.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1176, allocations: 7.953 kB / 339.3 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1177, allocations: 12 kB / 339.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1178, allocations: 7.984 kB / 339.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1178, allocations: 8.078 kB / 339.3 MB, free: 8.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.1179, allocations: 135.4 kB / 339.5 MB, free: 8.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1179, allocations: 0 / 339.5 MB, free: 8.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1182, allocations: 59.91 kB / 339.5 MB, free: 8.371 MB / 286.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 (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.0001484/0.1183, allocations: 111.2 kB / 339.6 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1187, allocations: 148.4 kB / 339.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1187, allocations: 0 / 339.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.1189, allocations: 91.97 kB / 339.9 MB, free: 8.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1192, allocations: 32.31 kB / 339.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/0.1201, allocations: 0.6675 MB / 340.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1204, allocations: 0.7479 MB / 341.3 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.1204, allocations: 9.547 kB / 341.3 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.1205, allocations: 15.44 kB / 341.3 MB, free: 6.492 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1205, allocations: 4 kB / 341.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of Templates: time 0.005083/0.1256, allocations: 2.287 MB / 343.6 MB, free: 4.207 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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) 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