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.00183/0.00183, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.002425/0.002425, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.276/2.276, allocations: 222.9 MB / 241.7 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 37.69 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 49.47 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004155/0.1383, allocations: 2.542 MB / 352.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1397, allocations: 0.6583 MB / 353.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1399, allocations: 4 kB / 353.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1401, allocations: 31.77 kB / 353.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1403, allocations: 51.55 kB / 353.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1406, allocations: 75.86 kB / 353.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.141, allocations: 258.8 kB / 353.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1411, allocations: 80.7 kB / 353.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1414, allocations: 103.6 kB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1416, allocations: 111.4 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.1416, allocations: 16 kB / 354 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.1417, allocations: 27.94 kB / 354 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.16e-05/0.1418, allocations: 51.83 kB / 354.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1419, allocations: 115.4 kB / 354.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1422, allocations: 211.7 kB / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1422, allocations: 0 / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1422, allocations: 0 / 354.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1422, allocations: 0 / 354.4 MB, free: 0.4961 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.0009409/0.1432, allocations: 0.5302 MB / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1432, allocations: 8.031 kB / 354.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.1433, allocations: 32.66 kB / 354.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1436, allocations: 228 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1436, allocations: 20.75 kB / 355.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.1437, allocations: 16.38 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.1441, allocations: 195.6 kB / 355.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1441, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1442, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1442, allocations: 8 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.1445, allocations: 149.7 kB / 355.6 MB, free: 15.23 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.001514/0.146, allocations: 0.9335 MB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.1464, allocations: 158.5 kB / 356.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1466, allocations: 96.83 kB / 356.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1467, allocations: 4 kB / 356.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1467, allocations: 30.56 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1467, allocations: 0 / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001429/0.1481, allocations: 423.3 kB / 357.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1482, allocations: 55.41 kB / 357.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1484, allocations: 175.2 kB / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1484, allocations: 29.7 kB / 357.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1485, allocations: 152 kB / 357.6 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.035e-05/0.1486, allocations: 59.11 kB / 357.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.1487, allocations: 41.64 kB / 357.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1488, allocations: 330.8 kB / 358 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1489, allocations: 51.97 kB / 358.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1491, allocations: 69.69 kB / 358.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.1494, allocations: 121.7 kB / 358.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1494, allocations: 4 kB / 358.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004616/0.1499, allocations: 224.9 kB / 358.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1499, allocations: 4 kB / 358.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1499, allocations: 7.938 kB / 358.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.1515, allocations: 216.6 kB / 358.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1516, allocations: 43.91 kB / 358.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000533/0.1522, allocations: 0.6031 MB / 359.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.1523, allocations: 11.88 kB / 359.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1524, allocations: 8 kB / 359.4 MB, free: 11.17 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.0001319/0.1525, allocations: 145.8 kB / 359.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.1526, allocations: 15.81 kB / 359.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.1531, allocations: 220.3 kB / 359.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1531, allocations: 4 kB / 359.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1531, allocations: 0 / 359.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1531, allocations: 3.984 kB / 359.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009913/0.1541, allocations: 0.5927 MB / 360.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1541, allocations: 3.984 kB / 360.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1543, allocations: 31.92 kB / 360.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.1556, allocations: 204.6 kB / 360.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1556, allocations: 15.98 kB / 360.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005029/0.1562, allocations: 0.6264 MB / 361.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1562, allocations: 0 / 361.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.1571, allocations: 420.8 kB / 361.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.1572, allocations: 96.83 kB / 361.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1572, allocations: 8 kB / 361.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1574, allocations: 7.984 kB / 361.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.1575, allocations: 15.92 kB / 361.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1575, allocations: 4 kB / 361.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1576, allocations: 139.3 kB / 361.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1576, allocations: 0 / 361.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.158, allocations: 55.84 kB / 361.9 MB, free: 8.438 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.0001769/0.1581, allocations: 111.1 kB / 362.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004306/0.1586, allocations: 151 kB / 362.2 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1586, allocations: 3.938 kB / 362.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1588, allocations: 83.97 kB / 362.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1593, allocations: 31.92 kB / 362.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1604, allocations: 0.6732 MB / 363 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1607, allocations: 0.7402 MB / 363.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1608, allocations: 11.44 kB / 363.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1608, allocations: 0 / 363.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of Templates: time 0.005652/0.1665, allocations: 3.106 MB / 366.8 MB, free: 3.469 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/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