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.001081/0.001081, allocations: 91.61 kB / 16.65 MB, free: 6.586 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.001287/0.001287, allocations: 185.6 kB / 17.57 MB, free: 6.203 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.576/1.576, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 50.43 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003529/0.1414, allocations: 2.187 MB / 354 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.143, allocations: 0.6428 MB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1432, allocations: 4 kB / 354.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1434, allocations: 31.77 kB / 354.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1436, allocations: 59.47 kB / 354.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1439, allocations: 75.88 kB / 354.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1443, allocations: 270.8 kB / 355.1 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1445, allocations: 68.73 kB / 355.2 MB, free: 344 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1447, allocations: 95.62 kB / 355.3 MB, free: 248 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1448, allocations: 103.5 kB / 355.4 MB, free: 144 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1449, allocations: 12 kB / 355.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.145, allocations: 27.98 kB / 355.4 MB, free: 104 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.145, allocations: 35.83 kB / 355.4 MB, free: 68 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1452, allocations: 141.1 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1455, allocations: 259.2 kB / 355.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1455, allocations: 0 / 355.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1455, allocations: 0 / 355.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1456, allocations: 4 kB / 355.8 MB, free: 15.66 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.0008768/0.1464, allocations: 0.4951 MB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1465, allocations: 8.031 kB / 356.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.1466, allocations: 28.66 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1469, allocations: 232 kB / 356.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1469, allocations: 20.81 kB / 356.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.147, allocations: 16.38 kB / 356.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1474, allocations: 199.6 kB / 356.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1474, allocations: 3.938 kB / 356.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.1474, allocations: 4 kB / 356.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1474, allocations: 8 kB / 356.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1478, allocations: 157.6 kB / 357 MB, free: 14.42 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.001481/0.1493, allocations: 0.9375 MB / 357.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.1496, allocations: 154.5 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.1499, allocations: 100.8 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.1499, allocations: 4 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.15, allocations: 30.56 kB / 358.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.15, allocations: 0 / 358.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001379/0.1514, allocations: 435.3 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1514, allocations: 51.41 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1516, allocations: 175.2 kB / 358.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1516, allocations: 37.64 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1517, allocations: 148.1 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.1518, allocations: 67.09 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1519, allocations: 17.72 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.152, allocations: 330.8 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1521, allocations: 51.92 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1523, allocations: 69.69 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.1525, allocations: 144.5 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1525, allocations: 0 / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004189/0.153, allocations: 222.2 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.153, allocations: 6.031 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.153, allocations: 0 / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.1544, allocations: 228.6 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1546, allocations: 31.98 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005449/0.1551, allocations: 0.6186 MB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1553, allocations: 19.86 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1553, allocations: 8 kB / 360.8 MB, free: 10.32 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.0001431/0.1555, allocations: 129.8 kB / 361 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.1555, allocations: 15.81 kB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.156, allocations: 240.3 kB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.156, allocations: 4 kB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.156, allocations: 0 / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.156, allocations: 0 / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/0.157, allocations: 0.5897 MB / 361.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1571, allocations: 3.938 kB / 361.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1572, allocations: 27.98 kB / 361.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.1583, allocations: 224.6 kB / 362.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1584, allocations: 4 kB / 362.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004917/0.1589, allocations: 0.6225 MB / 362.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1589, allocations: 96 / 362.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.1597, allocations: 439 kB / 363.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.1598, allocations: 104.8 kB / 363.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1599, allocations: 3.984 kB / 363.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.16, allocations: 16.06 kB / 363.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1601, allocations: 11.97 kB / 363.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1601, allocations: 8 kB / 363.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1603, allocations: 127.2 kB / 363.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1603, allocations: 4 kB / 363.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.1606, allocations: 51.84 kB / 363.4 MB, free: 7.578 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.0002314/0.1609, allocations: 120.7 kB / 363.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.1613, allocations: 147.8 kB / 363.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1613, allocations: 0 / 363.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1616, allocations: 87.89 kB / 363.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.162, allocations: 34.86 kB / 363.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1634, allocations: 0.702 MB / 364.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.1638, allocations: 0.7402 MB / 365.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.131e-05/0.1639, allocations: 9.547 kB / 365.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.164, allocations: 15.44 kB / 365.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.164, allocations: 0 / 365.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of Templates: time 0.007388/0.1714, allocations: 2.371 MB / 367.6 MB, free: 3.324 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","/var/lib/jenkins/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