Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.44 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 62.46 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004094/0.1375, allocations: 1.72 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.1405, allocations: 1.627 MB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1406, allocations: 0 / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1409, allocations: 39.77 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1414, allocations: 103.5 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1417, allocations: 75.69 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.142, allocations: 111.7 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1421, allocations: 8 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1422, allocations: 51.77 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1424, allocations: 43.73 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1424, allocations: 4 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1426, allocations: 103.9 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1427, allocations: 27.84 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1428, allocations: 31.81 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.1431, allocations: 163.8 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.1432, allocations: 7.984 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1432, allocations: 0 / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1432, allocations: 4 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006816/0.1439, allocations: 419 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1439, allocations: 12.03 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.144, allocations: 30.75 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.144, allocations: 8.844 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1443, allocations: 220.3 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1443, allocations: 8 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1444, allocations: 7.984 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1446, allocations: 67.39 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1446, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1446, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1446, allocations: 0 / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.1447, allocations: 23.92 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1451, allocations: 292.9 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1453, allocations: 54.67 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.1454, allocations: 20.84 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1454, allocations: 0 / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.1456, allocations: 75.33 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1456, allocations: 0 / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.1462, allocations: 177.1 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1463, allocations: 81.05 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1464, allocations: 158.5 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1465, allocations: 33.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.1465, allocations: 96.08 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1466, allocations: 31.62 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1466, allocations: 25.72 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1467, allocations: 322.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.1468, allocations: 19.98 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.1469, allocations: 42.56 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.147, allocations: 65.58 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.147, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.1472, allocations: 101.7 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1472, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1473, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1473, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.1474, allocations: 23.86 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1474, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.1474, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1475, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.649e-05/0.1476, allocations: 129.9 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1476, allocations: 11.81 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1476, allocations: 12.72 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1477, allocations: 7.922 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1477, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1477, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.1481, allocations: 395.3 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1481, allocations: 7.922 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1482, allocations: 12.41 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.1482, allocations: 3.938 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1482, allocations: 4 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1482, allocations: 4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1482, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1485, allocations: 200.3 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.1485, allocations: 88.94 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1486, allocations: 12 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.1486, allocations: 0 / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1487, allocations: 7.984 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1487, allocations: 4 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1488, allocations: 126.3 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1488, allocations: 4.188 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1492, allocations: 47.98 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.1509, allocations: 1.174 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1511, allocations: 67.91 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1511, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1512, allocations: 31.92 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1515, allocations: 34.22 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1533, allocations: 1.573 MB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1536, allocations: 0.7012 MB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.1536, allocations: 25.17 kB / 491.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.1537, allocations: 35.42 kB / 491.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1537, allocations: 0 / 491.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1796, allocations: 3.929 MB / 495.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.146, allocations: 15.94 kB / 495.3 MB, free: 5.766 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches