Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008776/0.0008818, allocations: 96.08 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.0009183/0.0009184, allocations: 202.2 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.355/1.355, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002227/0.1546, allocations: 1.458 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1562, allocations: 0.9863 MB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.1562, allocations: 0 / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1566, allocations: 39.84 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1568, allocations: 75.73 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.157, allocations: 59.83 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1572, allocations: 103.7 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1573, allocations: 7.984 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.1574, allocations: 35.8 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.1575, allocations: 39.78 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1575, allocations: 4 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.1576, allocations: 47.91 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.1577, allocations: 19.92 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.1578, allocations: 49.52 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.158, allocations: 111.9 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.158, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.158, allocations: 4 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.158, allocations: 0 / 486.2 MB, free: 1.008 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.0005362/0.1586, allocations: 399.1 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1586, allocations: 8.875 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1587, allocations: 38.73 kB / 486.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1587, allocations: 12.75 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1589, allocations: 212 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.159, allocations: 8.375 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.159, allocations: 3.938 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1591, allocations: 53.67 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1592, allocations: 0 / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1592, allocations: 7.938 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1592, allocations: 4 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.1593, allocations: 15.98 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1597, allocations: 288.8 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.1599, allocations: 58.67 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.1599, allocations: 20.86 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.16, allocations: 0 / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1602, allocations: 67.33 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1602, allocations: 0 / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.1607, allocations: 177.2 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1608, allocations: 55.34 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.161, allocations: 189.9 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.161, allocations: 33.64 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1611, allocations: 108 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1611, allocations: 19.66 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1611, allocations: 13.72 kB / 488 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1613, allocations: 322.8 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.1613, allocations: 23.98 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.1614, allocations: 37.7 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1615, allocations: 65.64 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1615, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1617, allocations: 89.59 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1617, allocations: 8 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1618, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1618, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.1619, allocations: 19.92 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1619, allocations: 8.141 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.162, allocations: 11.97 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.162, allocations: 4 kB / 488.5 MB, free: 14.43 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.0001143/0.1621, allocations: 125.8 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1621, allocations: 7.906 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1622, allocations: 17.41 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1622, allocations: 3.984 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1622, allocations: 0 / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1622, allocations: 3.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1626, allocations: 399.2 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1627, allocations: 192 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1627, allocations: 8 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1627, allocations: 7.875 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1627, allocations: 7.984 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.1627, allocations: 4 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1627, allocations: 3.938 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.163, allocations: 200.3 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.163, allocations: 92.92 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1631, allocations: 7.922 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1631, allocations: 4 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1632, allocations: 8 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1632, allocations: 7.984 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1634, allocations: 137.8 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1634, allocations: 4 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1636, allocations: 20 kB / 489.6 MB, free: 13.27 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.001784/0.1654, allocations: 1.086 MB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1657, allocations: 59.92 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1657, allocations: 0 / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.1657, allocations: 27.97 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1662, allocations: 39.41 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.1683, allocations: 1.645 MB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1686, allocations: 0.7043 MB / 493.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1687, allocations: 16.88 kB / 493.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.1688, allocations: 35.42 kB / 493.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1688, allocations: 0 / 493.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1837, allocations: 2.969 MB / 496.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.1839, allocations: 231.5 kB / 496.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2, allocations: 3.938 kB / 496.4 MB, free: 6.59 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches