Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000768/0.0007681, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.000298, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002261/0.1218, allocations: 1.446 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1235, allocations: 0.998 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1237, allocations: 4 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.124, allocations: 43.81 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1243, allocations: 79.73 kB / 485.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1246, allocations: 63.88 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1247, allocations: 103.6 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.1249, allocations: 19.97 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.1249, allocations: 35.8 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.125, allocations: 35.78 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1251, allocations: 0 / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1252, allocations: 47.97 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.1252, allocations: 19.92 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1253, allocations: 65.33 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1255, allocations: 123.9 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1255, allocations: 4 kB / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1255, allocations: 0 / 486.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1256, allocations: 4 kB / 486.3 MB, free: 0.9531 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.0004939/0.1261, allocations: 413.2 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1261, allocations: 16.81 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1261, allocations: 34.73 kB / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1262, allocations: 16.75 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1264, allocations: 220.7 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1264, allocations: 4.375 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1265, allocations: 7.938 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1266, allocations: 53.67 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1266, allocations: 0 / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1267, allocations: 0 / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1267, allocations: 0 / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.1267, allocations: 19.98 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1271, allocations: 296.8 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1273, allocations: 62.61 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1273, allocations: 20.84 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1274, allocations: 0 / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.1275, allocations: 71.39 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1275, allocations: 4 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.1281, allocations: 177.1 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.1281, allocations: 55.41 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1284, allocations: 238.1 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1284, allocations: 25.7 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1285, allocations: 108.1 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1285, allocations: 23.66 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1285, allocations: 21.7 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1287, allocations: 330.8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.1287, allocations: 19.92 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1288, allocations: 37.66 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1289, allocations: 57.7 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1289, allocations: 0 / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.1291, allocations: 109.4 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1291, allocations: 8.031 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1292, allocations: 0 / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1292, allocations: 4 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.1293, allocations: 12 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1293, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1293, allocations: 15.92 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1294, allocations: 8.125 kB / 488.7 MB, free: 14.27 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 0.0001061/0.1295, allocations: 129.8 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1295, allocations: 15.75 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1296, allocations: 21.41 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1296, allocations: 0 / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1296, allocations: 0 / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1296, allocations: 3.938 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.13, allocations: 403.5 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1301, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.1301, allocations: 8 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1301, allocations: 7.922 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1301, allocations: 12.03 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1301, allocations: 80 / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1301, allocations: 3.984 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1304, allocations: 200.1 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1304, allocations: 96.91 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1305, allocations: 7.938 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1305, allocations: 4 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1306, allocations: 11.98 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1306, allocations: 4 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1307, allocations: 172.4 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1307, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.131, allocations: 23.98 kB / 489.8 MB, free: 13.05 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.001358/0.1324, allocations: 1.097 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1326, allocations: 63.91 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1326, allocations: 0 / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.1326, allocations: 27.98 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.133, allocations: 27.36 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1347, allocations: 1.755 MB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.135, allocations: 0.7122 MB / 493.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.776e-05/0.135, allocations: 20.86 kB / 493.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.1351, allocations: 43.36 kB / 493.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1351, allocations: 0 / 493.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.1476, allocations: 3.165 MB / 496.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.1478, allocations: 233 kB / 496.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.924, allocations: 3.938 kB / 496.9 MB, free: 6.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches