Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001043/0.001043, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.0009984/0.0009984, allocations: 181.6 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 7.297 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002675/0.1342, allocations: 2.027 MB / 353.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1353, allocations: 0.6355 MB / 353.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1354, allocations: 4 kB / 353.8 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.1354, allocations: 23.83 kB / 353.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1356, allocations: 83.73 kB / 353.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1359, allocations: 67.81 kB / 354 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1361, allocations: 191.6 kB / 354.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1363, allocations: 72.64 kB / 354.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1365, allocations: 79.72 kB / 354.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1366, allocations: 107.5 kB / 354.4 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1367, allocations: 16 kB / 354.4 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.1368, allocations: 23.94 kB / 354.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.1368, allocations: 39.83 kB / 354.5 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.1369, allocations: 65.58 kB / 354.6 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1371, allocations: 203.5 kB / 354.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1371, allocations: 0 / 354.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1371, allocations: 0 / 354.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1372, allocations: 0 / 354.8 MB, free: 8.102 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.0007988/0.138, allocations: 0.495 MB / 355.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.138, allocations: 11.97 kB / 355.3 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1381, allocations: 31.58 kB / 355.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1384, allocations: 226.7 kB / 355.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1384, allocations: 16.44 kB / 355.5 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.1385, allocations: 24 kB / 355.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1388, allocations: 187.3 kB / 355.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1389, allocations: 3.938 kB / 355.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1389, allocations: 8 kB / 355.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1389, allocations: 15.94 kB / 355.8 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1392, allocations: 145.7 kB / 355.9 MB, free: 6.859 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.001477/0.1407, allocations: 0.9336 MB / 356.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.141, allocations: 166.4 kB / 357 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1411, allocations: 3.984 kB / 357 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.1411, allocations: 38.64 kB / 357 MB, free: 5.594 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.1411, allocations: 4 kB / 357 MB, free: 5.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001343/0.1425, allocations: 419.4 kB / 357.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1425, allocations: 55.36 kB / 357.5 MB, free: 5.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1427, allocations: 183.2 kB / 357.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1428, allocations: 29.7 kB / 357.7 MB, free: 4.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1429, allocations: 152.1 kB / 357.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.143, allocations: 51.2 kB / 357.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.143, allocations: 4 kB / 357.9 MB, free: 4.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1432, allocations: 326.8 kB / 358.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1433, allocations: 56.34 kB / 358.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1434, allocations: 75.94 kB / 358.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1436, allocations: 59.98 kB / 358.4 MB, free: 4.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1436, allocations: 0 / 358.4 MB, free: 4.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004909/0.1441, allocations: 237.2 kB / 358.7 MB, free: 3.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1441, allocations: 8.031 kB / 358.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1441, allocations: 4 kB / 358.7 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.1455, allocations: 220.6 kB / 358.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1456, allocations: 35.97 kB / 358.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004749/0.1461, allocations: 0.6109 MB / 359.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1463, allocations: 11.84 kB / 359.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1463, allocations: 8 kB / 359.5 MB, free: 2.973 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.0001428/0.1464, allocations: 133.8 kB / 359.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1465, allocations: 23.88 kB / 359.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.147, allocations: 228.2 kB / 359.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.147, allocations: 0 / 359.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.147, allocations: 4 kB / 359.9 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.147, allocations: 7.922 kB / 359.9 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.1473, allocations: 293.3 kB / 360.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1474, allocations: 0 / 360.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1475, allocations: 35.97 kB / 360.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.1486, allocations: 208.6 kB / 360.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1487, allocations: 4 kB / 360.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004527/0.1491, allocations: 0.6225 MB / 361.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1491, allocations: 4 kB / 361.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.1497, allocations: 389.8 kB / 361.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1498, allocations: 104.9 kB / 361.6 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1498, allocations: 7.938 kB / 361.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.15, allocations: 12 kB / 361.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.15, allocations: 11.94 kB / 361.6 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1501, allocations: 4 kB / 361.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1502, allocations: 131.2 kB / 361.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 361.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1505, allocations: 59.75 kB / 361.8 MB, free: 0.5898 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.0001733/0.1507, allocations: 107.2 kB / 361.9 MB, free: 484 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.1511, allocations: 162.2 kB / 362.1 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1511, allocations: 0 / 362.1 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.1513, allocations: 88.02 kB / 362.1 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1516, allocations: 18.22 kB / 362.2 MB, free: 220 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1527, allocations: 0.6707 MB / 362.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1531, allocations: 0.7481 MB / 363.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1531, allocations: 17.44 kB / 363.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1532, allocations: 15.42 kB / 363.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1532, allocations: 4 kB / 363.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Templates: time 0.005983/0.1592, allocations: 2.286 MB / 365.9 MB, free: 12.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches