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.001741/0.001741, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001842/0.001842, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001752/0.001752, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1228, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005013/0.1279, allocations: 2.473 MB / 331.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1294, allocations: 0.6671 MB / 331.9 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1295, allocations: 4 kB / 331.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.1297, allocations: 43.64 kB / 331.9 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1299, allocations: 71.33 kB / 332 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1303, allocations: 71.84 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.1307, allocations: 274.8 kB / 332.3 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1309, allocations: 84.34 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1311, allocations: 111.5 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1314, allocations: 115.5 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.1314, allocations: 24 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1315, allocations: 36 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.1316, allocations: 51.83 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1318, allocations: 123.3 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.1322, allocations: 279 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1322, allocations: 0 / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1322, allocations: 0 / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1323, allocations: 0 / 333.1 MB, free: 15.33 MB / 286.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.001086/0.1333, allocations: 0.5224 MB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.1334, allocations: 20.02 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.156e-05/0.1335, allocations: 28.66 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.134, allocations: 232.6 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.134, allocations: 16.81 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.1341, allocations: 20.38 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.1346, allocations: 191.2 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1346, allocations: 0 / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.1347, allocations: 11.94 kB / 334.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1347, allocations: 7.938 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.1351, allocations: 149.7 kB / 334.3 MB, free: 14.05 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.00169/0.1368, allocations: 0.9334 MB / 335.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.1372, allocations: 150.5 kB / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.1375, allocations: 100.8 kB / 335.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1376, allocations: 11.92 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1376, allocations: 34.56 kB / 335.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.1376, allocations: 0 / 335.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001733/0.1394, allocations: 418.5 kB / 335.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1394, allocations: 55.41 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1397, allocations: 170.4 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1397, allocations: 29.7 kB / 336.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1398, allocations: 148.1 kB / 336.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.1399, allocations: 59.11 kB / 336.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.14, allocations: 37.7 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1402, allocations: 330.8 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1404, allocations: 47.97 kB / 336.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1406, allocations: 69.69 kB / 336.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.141, allocations: 133.6 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.141, allocations: 0 / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005922/0.1416, allocations: 222.2 kB / 337.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1416, allocations: 7.938 kB / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1416, allocations: 0 / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.1435, allocations: 220.6 kB / 337.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.1438, allocations: 31.97 kB / 337.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005996/0.1444, allocations: 0.6069 MB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1445, allocations: 11.91 kB / 338.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1445, allocations: 4 kB / 338.1 MB, free: 10.01 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 (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.0001252/0.1447, allocations: 133.8 kB / 338.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1447, allocations: 19.8 kB / 338.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.1452, allocations: 228.2 kB / 338.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1452, allocations: 4 kB / 338.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1452, allocations: 3.938 kB / 338.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1452, allocations: 0 / 338.5 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008927/0.1461, allocations: 0.6012 MB / 339.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1461, allocations: 0 / 339.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1463, allocations: 27.97 kB / 339.1 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.1474, allocations: 196.7 kB / 339.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1474, allocations: 16 kB / 339.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/0.1478, allocations: 0.6225 MB / 339.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1478, allocations: 0 / 339.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.1486, allocations: 428.7 kB / 340.3 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1487, allocations: 96.89 kB / 340.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1488, allocations: 7.984 kB / 340.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1489, allocations: 8 kB / 340.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.149, allocations: 7.984 kB / 340.5 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.149, allocations: 12.06 kB / 340.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1491, allocations: 132.2 kB / 340.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1491, allocations: 0 / 340.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.1494, allocations: 59.84 kB / 340.7 MB, free: 7.281 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 (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.0001968/0.1497, allocations: 103.2 kB / 340.8 MB, free: 7.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.1501, allocations: 147.9 kB / 340.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.1501, allocations: 8.062 kB / 340.9 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.1503, allocations: 95.73 kB / 341 MB, free: 6.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1506, allocations: 24.8 kB / 341 MB, free: 6.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1517, allocations: 0.5405 MB / 341.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.152, allocations: 0.7399 MB / 342.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.1521, allocations: 9.562 kB / 342.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1521, allocations: 15.42 kB / 342.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1521, allocations: 4 kB / 342.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of Templates: time 0.005803/0.1579, allocations: 2.542 MB / 344.9 MB, free: 3.004 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches