Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001826/0.001826, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002109, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 76.23 kB / 416.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1426, allocations: 62.45 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003742/0.1464, allocations: 1.781 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1483, allocations: 1.021 MB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.1484, allocations: 3.938 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1487, allocations: 43.83 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.149, allocations: 83.72 kB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1493, allocations: 67.81 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1495, allocations: 95.75 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1496, allocations: 8 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1497, allocations: 47.77 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.1498, allocations: 39.73 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1498, allocations: 4 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.15, allocations: 39.98 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.15, allocations: 27.91 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.1501, allocations: 39.67 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1503, allocations: 123.8 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1503, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1503, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1504, allocations: 0 / 482.8 MB, free: 2.141 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.0005706/0.1509, allocations: 430.8 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.151, allocations: 16.86 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.151, allocations: 34.75 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.1511, allocations: 12.84 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1513, allocations: 216.8 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1514, allocations: 4.375 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1514, allocations: 7.938 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1516, allocations: 53.67 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1516, allocations: 0 / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1516, allocations: 0 / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1516, allocations: 4 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1517, allocations: 23.92 kB / 483.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1521, allocations: 296.7 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1523, allocations: 54.69 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1524, allocations: 20.84 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1524, allocations: 8 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1526, allocations: 71.33 kB / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1526, allocations: 3.938 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006257/0.1533, allocations: 189.1 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1533, allocations: 51.41 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1536, allocations: 235 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1536, allocations: 33.7 kB / 484.5 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.1537, allocations: 108.1 kB / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1537, allocations: 31.58 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.1538, allocations: 25.72 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1539, allocations: 322.8 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.154, allocations: 23.98 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.1541, allocations: 33.7 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1542, allocations: 61.72 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1542, allocations: 4 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1544, allocations: 101.5 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1544, allocations: 8 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1544, allocations: 3.938 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1545, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.1546, allocations: 15.98 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1546, allocations: 4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.1546, allocations: 7.969 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1547, allocations: 4 kB / 485.3 MB, free: 15.42 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.0001078/0.1548, allocations: 129.8 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1548, allocations: 7.906 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.1549, allocations: 21.39 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1549, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1549, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1549, allocations: 7.938 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1553, allocations: 403.2 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1554, allocations: 0 / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.1554, allocations: 15.92 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1554, allocations: 3.938 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1554, allocations: 4 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1554, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1554, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1557, allocations: 208.3 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1558, allocations: 88.91 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1558, allocations: 12.25 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.1559, allocations: 4 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1559, allocations: 7.984 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1559, allocations: 8 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1561, allocations: 172.4 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1561, allocations: 3.938 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1564, allocations: 32.17 kB / 486.4 MB, free: 14.21 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.001484/0.1579, allocations: 1.082 MB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1581, allocations: 67.88 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1581, allocations: 0 / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.1582, allocations: 31.92 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1585, allocations: 27.92 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1604, allocations: 1.75 MB / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1607, allocations: 0.7121 MB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.549e-05/0.1608, allocations: 12.89 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.1609, allocations: 43.41 kB / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1609, allocations: 0 / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1756, allocations: 3.347 MB / 493.5 MB, free: 7.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.1758, allocations: 241.5 kB / 493.7 MB, free: 7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.103, allocations: 4 kB / 493.7 MB, free: 6.996 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches