Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 103.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 46.12 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 74.75 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1463, allocations: 62.46 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003976/0.1503, allocations: 1.744 MB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1522, allocations: 0.994 MB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1523, allocations: 4 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1527, allocations: 63.78 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1531, allocations: 83.73 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1533, allocations: 63.81 kB / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1535, allocations: 103.6 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.85e-05/0.1536, allocations: 12.2 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1537, allocations: 39.8 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1538, allocations: 51.81 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1539, allocations: 0 / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.154, allocations: 31.94 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.154, allocations: 19.92 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.1541, allocations: 35.73 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1543, allocations: 95.92 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1543, allocations: 4 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1543, allocations: 0 / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1543, allocations: 0 / 482.7 MB, free: 2.266 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.0006059/0.1549, allocations: 415 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.155, allocations: 8.875 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.155, allocations: 30.75 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.1551, allocations: 8.844 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1554, allocations: 224.6 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1554, allocations: 4.375 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1554, allocations: 3.938 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1556, allocations: 45.67 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1556, allocations: 4 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1556, allocations: 0 / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1556, allocations: 4 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.1557, allocations: 15.98 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.1559, allocations: 177.7 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1561, allocations: 62.48 kB / 483.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.1561, allocations: 16.86 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1562, allocations: 8 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1564, allocations: 63.3 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1564, allocations: 0 / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002977/0.1567, allocations: 93.52 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1568, allocations: 59.39 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.157, allocations: 190.9 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.157, allocations: 25.7 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1571, allocations: 104.1 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1571, allocations: 15.8 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1571, allocations: 17.72 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1573, allocations: 322.8 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.1573, allocations: 12 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.1574, allocations: 33.7 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.1575, allocations: 45.64 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1575, allocations: 8.125 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001763/0.1577, allocations: 85.59 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1577, allocations: 4 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1577, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1578, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.1578, allocations: 19.92 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1579, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.1579, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1579, allocations: 8.188 kB / 484.8 MB, free: 15.93 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.0001242/0.1581, allocations: 125.8 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1581, allocations: 15.75 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.1581, allocations: 20.98 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1581, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1581, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1582, allocations: 3.984 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1583, allocations: 193.5 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1583, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.1584, allocations: 8 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1584, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1584, allocations: 7.984 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1584, allocations: 3.984 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1584, allocations: 4 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1586, allocations: 104.9 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1587, allocations: 85 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1587, allocations: 8 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.1588, allocations: 4 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1588, allocations: 4 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1588, allocations: 3.984 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.159, allocations: 148.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1592, allocations: 23.89 kB / 485.6 MB, free: 15.09 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.001365/0.1606, allocations: 0.9473 MB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1607, allocations: 39.92 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1608, allocations: 0 / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.1608, allocations: 23.92 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1611, allocations: 27.36 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1629, allocations: 1.509 MB / 488.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1633, allocations: 0.7043 MB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.1633, allocations: 16.41 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1634, allocations: 31.42 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1634, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.1789, allocations: 2.887 MB / 491.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.1792, allocations: 239.3 kB / 492 MB, free: 8.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.062, allocations: 0 / 492 MB, free: 8.734 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches