Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007406/0.0007406, allocations: 96.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008865/0.0008867, allocations: 201.6 kB / 18.28 MB, free: 5.496 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.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.2197/0.2197, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 12 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 63.55 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002163/0.1316, allocations: 1.415 MB / 484.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1333, allocations: 0.9746 MB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.1334, allocations: 0 / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1338, allocations: 51.8 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1341, allocations: 87.73 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1343, allocations: 59.81 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1345, allocations: 95.7 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.1346, allocations: 8.219 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.1347, allocations: 39.78 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1348, allocations: 35.8 kB / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1348, allocations: 0 / 485.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.1349, allocations: 39.97 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.135, allocations: 31.86 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.1351, allocations: 61.38 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1353, allocations: 115.8 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1353, allocations: 0 / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1353, allocations: 0 / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1353, allocations: 4 kB / 486.2 MB, free: 1.004 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005287/0.1358, allocations: 422.8 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1359, allocations: 8.875 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1359, allocations: 34.69 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.136, allocations: 20.75 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1362, allocations: 217 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1362, allocations: 4.375 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1363, allocations: 3.938 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1364, allocations: 49.67 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1364, allocations: 0 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1364, allocations: 0 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1364, allocations: 0 / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.1365, allocations: 19.92 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.1367, allocations: 197.7 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1369, allocations: 50.56 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.137, allocations: 28.77 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.137, allocations: 0 / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1372, allocations: 67.39 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 3.056e-06/0.1372, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002799/0.1375, allocations: 101.4 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1375, allocations: 55.41 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1378, allocations: 267 kB / 487.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1378, allocations: 25.7 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1379, allocations: 112.1 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1379, allocations: 15.8 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1379, allocations: 13.72 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1381, allocations: 330.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1381, allocations: 15.98 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.1382, allocations: 29.69 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.1383, allocations: 45.66 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1383, allocations: 3.938 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001631/0.1385, allocations: 97.67 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1385, allocations: 4 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1385, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1385, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1386, allocations: 12 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1386, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1387, allocations: 11.94 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1387, allocations: 0 / 488.4 MB, free: 14.54 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 (7): * Single equations (assignments): 7 * 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.0001169/0.1388, allocations: 133.8 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1388, allocations: 27.83 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.1389, allocations: 13 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1389, allocations: 4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1389, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1389, allocations: 0 / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1391, allocations: 201.5 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1391, allocations: 0 / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.1391, allocations: 7.938 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1391, allocations: 0 / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1391, allocations: 8 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1391, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1391, allocations: 7.938 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1393, allocations: 108.9 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1394, allocations: 92.92 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1394, allocations: 7.984 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.1395, allocations: 0 / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1395, allocations: 4 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1395, allocations: 0 / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1397, allocations: 212.4 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1397, allocations: 0 / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1399, allocations: 16 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001243/0.1411, allocations: 0.9488 MB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1413, allocations: 47.92 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1413, allocations: 0 / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.1414, allocations: 19.98 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1417, allocations: 23.98 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1434, allocations: 1.697 MB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1437, allocations: 0.7199 MB / 492.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.1437, allocations: 16.55 kB / 492.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.1438, allocations: 35.42 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1438, allocations: 0 / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.1642, allocations: 3.043 MB / 495.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1644, allocations: 229.2 kB / 496 MB, free: 6.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.906, allocations: 11.44 kB / 496 MB, free: 6.926 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches