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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.00177/0.00177, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.497/1.497, allocations: 205.1 MB / 224 MB, free: 12.44 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.00184/0.001841, allocations: 48.62 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 46.64 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005315/0.138, allocations: 2.512 MB / 329.4 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1396, allocations: 0.6711 MB / 330.1 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1398, allocations: 4 kB / 330.1 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.14, allocations: 27.77 kB / 330.1 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1401, allocations: 59.53 kB / 330.2 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.1405, allocations: 75.81 kB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.141, allocations: 274.8 kB / 330.5 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1413, allocations: 80.34 kB / 330.6 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.1415, allocations: 107.6 kB / 330.7 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1417, allocations: 107.5 kB / 330.8 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.1418, allocations: 24 kB / 330.8 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1419, allocations: 39.97 kB / 330.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.142, allocations: 47.84 kB / 330.9 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1422, allocations: 131.3 kB / 331 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.1426, allocations: 275.3 kB / 331.3 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.1426, allocations: 0 / 331.3 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1426, allocations: 0 / 331.3 MB, free: 244 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1426, allocations: 0 / 331.3 MB, free: 244 kB / 270.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.001242/0.1439, allocations: 0.5224 MB / 331.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.144, allocations: 8.031 kB / 331.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.1441, allocations: 58.72 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.1441, allocations: 28.56 kB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1445, allocations: 236.6 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.1446, allocations: 16.81 kB / 332.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.1446, allocations: 24.12 kB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.1451, allocations: 191.2 kB / 332.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1451, allocations: 0 / 332.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.1452, allocations: 11.94 kB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1452, allocations: 4 kB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1456, allocations: 153.7 kB / 332.5 MB, free: 14.89 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.001566/0.1471, allocations: 0.9373 MB / 333.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1475, allocations: 150.6 kB / 333.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.1477, allocations: 92.83 kB / 333.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1478, allocations: 8 kB / 333.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1478, allocations: 38.55 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.1478, allocations: 0 / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001417/0.1492, allocations: 422.6 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.1493, allocations: 55.41 kB / 334.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1495, allocations: 170.4 kB / 334.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1496, allocations: 29.7 kB / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1497, allocations: 156 kB / 334.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.1498, allocations: 55.2 kB / 334.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.1499, allocations: 37.7 kB / 334.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.1502, allocations: 326.7 kB / 335 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1503, allocations: 55.97 kB / 335 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1505, allocations: 73.69 kB / 335.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1507, allocations: 125.5 kB / 335.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.1507, allocations: 0 / 335.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004608/0.1512, allocations: 222.1 kB / 335.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1513, allocations: 11.94 kB / 335.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1513, allocations: 3.984 kB / 335.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.1527, allocations: 212.6 kB / 335.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1529, allocations: 39.91 kB / 335.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005936/0.1535, allocations: 0.6071 MB / 336.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1537, allocations: 11.94 kB / 336.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1537, allocations: 8 kB / 336.3 MB, free: 10.84 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.0001507/0.1538, allocations: 133.7 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.1539, allocations: 19.75 kB / 336.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.1544, allocations: 228.3 kB / 336.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1544, allocations: 7.938 kB / 336.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.1544, allocations: 4 kB / 336.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1545, allocations: 0 / 336.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.1554, allocations: 0.5895 MB / 337.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1555, allocations: 8.031 kB / 337.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1556, allocations: 31.97 kB / 337.3 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.1567, allocations: 192.6 kB / 337.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1568, allocations: 11.98 kB / 337.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005501/0.1573, allocations: 0.6225 MB / 338.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1573, allocations: 3.938 kB / 338.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.1582, allocations: 428.8 kB / 338.6 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.1583, allocations: 92.89 kB / 338.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.1583, allocations: 11.98 kB / 338.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1585, allocations: 4.094 kB / 338.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.1585, allocations: 15.92 kB / 338.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1585, allocations: 4 kB / 338.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1587, allocations: 131.2 kB / 338.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1587, allocations: 4.062 kB / 338.8 MB, free: 8.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.159, allocations: 55.84 kB / 338.9 MB, free: 8.117 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.001251/0.1602, allocations: 0.9635 MB / 339.9 MB, free: 7.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.1607, allocations: 152.5 kB / 340 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1607, allocations: 0 / 340 MB, free: 6.973 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.1609, allocations: 87.89 kB / 340.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1614, allocations: 28.17 kB / 340.1 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.1645, allocations: 2.386 MB / 342.5 MB, free: 4.383 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.165, allocations: 0.7396 MB / 343.3 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.979e-05/0.1651, allocations: 9.562 kB / 343.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1652, allocations: 63.41 kB / 343.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1652, allocations: 0 / 343.3 MB, free: 3.547 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1874, allocations: 4.499 MB / 347.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.1876, allocations: 233 kB / 348 MB, free: 14.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.164, allocations: 4 kB / 348.1 MB, free: 14.77 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches