Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009144/0.0009141, allocations: 95 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.0009348/0.0009348, allocations: 206.1 kB / 18.29 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.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 46.19 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 12 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 63.55 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002553/0.1385, allocations: 1.458 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1405, allocations: 0.9863 MB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1406, allocations: 0 / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.141, allocations: 43.81 kB / 485.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1414, allocations: 75.75 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1417, allocations: 71.8 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1419, allocations: 95.7 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.142, allocations: 7.984 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1422, allocations: 47.78 kB / 486 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.1423, allocations: 27.8 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1423, allocations: 0 / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1424, allocations: 51.91 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1425, allocations: 19.92 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.1426, allocations: 69.38 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1429, allocations: 111.9 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1429, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1429, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1429, allocations: 0 / 486.2 MB, free: 1.012 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.000704/0.1436, allocations: 407 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1437, allocations: 8.875 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.1438, allocations: 42.73 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1438, allocations: 12.84 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1441, allocations: 215.9 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1442, allocations: 384 / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1442, allocations: 11.94 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1444, allocations: 49.67 kB / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1444, allocations: 0 / 487 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1444, allocations: 4 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1444, allocations: 3.984 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.1445, allocations: 23.98 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.145, allocations: 284.9 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1452, allocations: 58.67 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.1453, allocations: 20.86 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.1453, allocations: 7.984 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1455, allocations: 71.33 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1455, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.1461, allocations: 177.1 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1462, allocations: 59.33 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1464, allocations: 210.8 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1464, allocations: 29.7 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1465, allocations: 108.1 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.1465, allocations: 15.72 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1466, allocations: 25.53 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1467, allocations: 326.8 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.1468, allocations: 12 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.1469, allocations: 37.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.147, allocations: 69.7 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.147, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.1472, allocations: 105.5 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1472, allocations: 4.188 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1472, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1473, allocations: 3.938 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.1474, allocations: 19.94 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1474, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.1474, allocations: 19.86 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1475, allocations: 4.031 kB / 488.6 MB, free: 14.37 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.000112/0.1476, allocations: 125.8 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1476, allocations: 7.906 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.1477, allocations: 21.39 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1477, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1477, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1477, allocations: 3.938 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1482, allocations: 399.2 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1482, allocations: 4 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1483, allocations: 4 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1483, allocations: 7.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1483, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1483, allocations: 0 / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.1483, allocations: 7.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1486, allocations: 204.3 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1486, allocations: 92.91 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1487, allocations: 8.312 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1488, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1488, allocations: 7.984 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1488, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.149, allocations: 160.3 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.365e-06/0.149, allocations: 0 / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1493, allocations: 31.92 kB / 489.7 MB, free: 13.19 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.001511/0.1508, allocations: 1.086 MB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.151, allocations: 63.89 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.151, allocations: 4 kB / 490.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.1511, allocations: 20 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1514, allocations: 31.97 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1534, allocations: 1.713 MB / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1537, allocations: 0.7004 MB / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.1537, allocations: 20.53 kB / 493.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.1538, allocations: 39.42 kB / 493.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1538, allocations: 0 / 493.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.1683, allocations: 3.057 MB / 496.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.1686, allocations: 239.3 kB / 496.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.077, allocations: 4 kB / 496.7 MB, free: 6.344 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches