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.001442/0.001442, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001674/0.001674, allocations: 192 kB / 18.62 MB, free: 4.41 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.426/1.426, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 47.48 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1451, allocations: 49.46 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.006041/0.1512, allocations: 2.489 MB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.153, allocations: 0.6583 MB / 354.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.1533, allocations: 4 kB / 354.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1536, allocations: 39.64 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1539, allocations: 71.33 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.1545, allocations: 87.78 kB / 354.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.155, allocations: 274.8 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.1552, allocations: 88.88 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1554, allocations: 107.5 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1556, allocations: 119.4 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1557, allocations: 24 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1558, allocations: 35.98 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.1559, allocations: 51.83 kB / 355.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.156, allocations: 119.4 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1564, allocations: 291 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1564, allocations: 0 / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1564, allocations: 0 / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1564, allocations: 0 / 355.9 MB, free: 15.22 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.0009091/0.1574, allocations: 0.5263 MB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1574, allocations: 12.03 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.1575, allocations: 28.66 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1579, allocations: 247.8 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1579, allocations: 20.75 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.158, allocations: 20.38 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.1584, allocations: 191.6 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1584, allocations: 0 / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1584, allocations: 8 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1584, allocations: 8 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1588, allocations: 153.7 kB / 357.1 MB, free: 13.93 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.001366/0.1601, allocations: 0.9333 MB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1605, allocations: 158.5 kB / 358.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1607, allocations: 96.81 kB / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1607, allocations: 0 / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1607, allocations: 42.56 kB / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.1607, allocations: 0 / 358.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00137/0.1621, allocations: 415.4 kB / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1622, allocations: 51.41 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1624, allocations: 175.2 kB / 359 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1624, allocations: 33.7 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1625, allocations: 148.1 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.1626, allocations: 63.09 kB / 359.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.1627, allocations: 37.7 kB / 359.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1628, allocations: 338.7 kB / 359.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1629, allocations: 43.98 kB / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1631, allocations: 69.69 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.1633, allocations: 133.6 kB / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1633, allocations: 0 / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004071/0.1637, allocations: 221.1 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1638, allocations: 4 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1638, allocations: 0 / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.1651, allocations: 224.6 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1653, allocations: 31.92 kB / 360.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004922/0.1658, allocations: 0.607 MB / 360.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1659, allocations: 19.81 kB / 360.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1659, allocations: 8.047 kB / 360.9 MB, free: 9.871 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.0001269/0.166, allocations: 141.7 kB / 361.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1661, allocations: 15.81 kB / 361.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.1666, allocations: 228.2 kB / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1666, allocations: 0 / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1666, allocations: 0 / 361.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1666, allocations: 3.984 kB / 361.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009686/0.1676, allocations: 0.5922 MB / 361.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1676, allocations: 0 / 361.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1677, allocations: 31.92 kB / 361.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.1688, allocations: 208.6 kB / 362.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1688, allocations: 4 kB / 362.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005283/0.1693, allocations: 0.6225 MB / 362.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1694, allocations: 0 / 362.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.1701, allocations: 424.8 kB / 363.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.1702, allocations: 104.8 kB / 363.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1702, allocations: 0 / 363.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1704, allocations: 8 kB / 363.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1705, allocations: 15.97 kB / 363.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1705, allocations: 12.06 kB / 363.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1706, allocations: 128.3 kB / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1706, allocations: 0 / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.1709, allocations: 55.84 kB / 363.5 MB, free: 7.156 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.0001664/0.1711, allocations: 115.2 kB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1715, allocations: 143 kB / 363.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1715, allocations: 8.062 kB / 363.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.1717, allocations: 87.8 kB / 363.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.172, allocations: 31.95 kB / 363.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.173, allocations: 0.5521 MB / 364.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1734, allocations: 0.7361 MB / 365.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.207e-05/0.1734, allocations: 17.53 kB / 365.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1735, allocations: 11.44 kB / 365.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1735, allocations: 0 / 365.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of Templates: time 0.006553/0.18, allocations: 2.549 MB / 367.7 MB, free: 2.879 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches