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.0006972/0.0006972, allocations: 95.28 kB / 17.3 MB, free: 6.34 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.0007574/0.0007574, allocations: 179.8 kB / 18.21 MB, free: 5.531 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.284/1.284, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004875/0.0004877, allocations: 12.22 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003814/0.1282, allocations: 2.153 MB / 331.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1296, allocations: 0.6711 MB / 331.9 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1297, allocations: 4 kB / 331.9 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.1299, allocations: 19.84 kB / 331.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.13, allocations: 67.47 kB / 332 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1303, allocations: 63.88 kB / 332 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1306, allocations: 266.8 kB / 332.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1308, allocations: 72.78 kB / 332.4 MB, free: 344 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.131, allocations: 87.59 kB / 332.4 MB, free: 256 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1312, allocations: 103.5 kB / 332.5 MB, free: 152 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1312, allocations: 12 kB / 332.6 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.1313, allocations: 23.98 kB / 332.6 MB, free: 116 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1313, allocations: 35.84 kB / 332.6 MB, free: 80 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1315, allocations: 141.1 kB / 332.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1318, allocations: 259.2 kB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1319, allocations: 0 / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.1319, allocations: 0 / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1319, allocations: 4 kB / 333 MB, free: 15.68 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.0008396/0.1327, allocations: 0.4913 MB / 333.5 MB, free: 15.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.1328, allocations: 8.031 kB / 333.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.1329, allocations: 54.73 kB / 333.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.133, allocations: 28.66 kB / 333.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1333, allocations: 236.6 kB / 333.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1333, allocations: 20.81 kB / 333.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.1334, allocations: 23.92 kB / 333.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1338, allocations: 191.3 kB / 334.1 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1338, allocations: 3.938 kB / 334.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.1338, allocations: 8 kB / 334.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1338, allocations: 4 kB / 334.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.1342, allocations: 165.5 kB / 334.2 MB, free: 14.35 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.1357, allocations: 0.9297 MB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.136, allocations: 166.5 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1362, allocations: 100.8 kB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1363, allocations: 3.984 kB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1363, allocations: 34.56 kB / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1363, allocations: 0 / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001304/0.1377, allocations: 430.5 kB / 335.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1377, allocations: 59.39 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1379, allocations: 167.1 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1379, allocations: 29.7 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1381, allocations: 148.1 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1381, allocations: 63.09 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.1382, allocations: 21.72 kB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1383, allocations: 326.8 kB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1384, allocations: 51.97 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1386, allocations: 73.69 kB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.1388, allocations: 137.6 kB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1388, allocations: 0 / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004075/0.1393, allocations: 226.2 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1393, allocations: 7.938 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1393, allocations: 0 / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.1407, allocations: 220.6 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1408, allocations: 35.98 kB / 337.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005118/0.1413, allocations: 0.6108 MB / 338 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1415, allocations: 11.94 kB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1415, allocations: 11.98 kB / 338 MB, free: 10.29 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.000133/0.1416, allocations: 137.8 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1417, allocations: 15.81 kB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.1422, allocations: 232.2 kB / 338.4 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1422, allocations: 0 / 338.4 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1422, allocations: 0 / 338.4 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1422, allocations: 7.922 kB / 338.4 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/0.1431, allocations: 0.6012 MB / 339 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1431, allocations: 0 / 339 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1433, allocations: 31.98 kB / 339.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.1444, allocations: 212.6 kB / 339.3 MB, free: 8.973 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.1444, allocations: 11.98 kB / 339.3 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.145, allocations: 0.6186 MB / 339.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.145, allocations: 0 / 339.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.1459, allocations: 436.8 kB / 340.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.146, allocations: 96.92 kB / 340.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.146, allocations: 8 kB / 340.4 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1462, allocations: 11.98 kB / 340.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1462, allocations: 11.98 kB / 340.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1462, allocations: 8 kB / 340.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1463, allocations: 131.5 kB / 340.6 MB, free: 7.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 340.6 MB, free: 7.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1467, allocations: 55.84 kB / 340.6 MB, free: 7.531 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.001188/0.1479, allocations: 0.968 MB / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.1483, allocations: 151.8 kB / 341.8 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1483, allocations: 0 / 341.8 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.1485, allocations: 95.97 kB / 341.9 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1489, allocations: 27.98 kB / 341.9 MB, free: 6.262 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.1519, allocations: 2.455 MB / 344.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1522, allocations: 0.7474 MB / 345.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.465e-05/0.1523, allocations: 9.547 kB / 345.1 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.1524, allocations: 59.41 kB / 345.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1524, allocations: 4 kB / 345.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.1712, allocations: 4.241 MB / 349.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.1714, allocations: 248.2 kB / 349.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.164, allocations: 0 / 349.6 MB, free: 14.36 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