Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 80.81 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1484, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00359/0.152, allocations: 1.732 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.154, allocations: 1.021 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1541, allocations: 3.938 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1545, allocations: 39.83 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1549, allocations: 91.53 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1551, allocations: 83.66 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1553, allocations: 99.7 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1554, allocations: 16 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1555, allocations: 39.78 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.1556, allocations: 35.78 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1557, allocations: 4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1558, allocations: 43.98 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.1559, allocations: 27.84 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.1559, allocations: 31.75 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1562, allocations: 115.9 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1562, allocations: 4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1562, allocations: 4 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1562, allocations: 0 / 483.5 MB, free: 1.762 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.0005879/0.1568, allocations: 410.9 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1568, allocations: 12.03 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1569, allocations: 34.73 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1569, allocations: 8.844 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1572, allocations: 220.7 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1572, allocations: 384 / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1572, allocations: 7.938 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1574, allocations: 57.67 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1574, allocations: 3.906 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1574, allocations: 0 / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1574, allocations: 4 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.1575, allocations: 19.97 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1579, allocations: 288.8 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1581, allocations: 62.67 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.1582, allocations: 20.8 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1582, allocations: 0 / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.1584, allocations: 63.39 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/0.1584, allocations: 4 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006076/0.159, allocations: 181.2 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1591, allocations: 51.41 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1593, allocations: 207.5 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1594, allocations: 29.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.1594, allocations: 100.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1595, allocations: 23.7 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.1595, allocations: 21.72 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1597, allocations: 322.8 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.1597, allocations: 23.98 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.1598, allocations: 38.08 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1599, allocations: 61.69 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1599, allocations: 3.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.1601, allocations: 105.4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1602, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1602, allocations: 4.031 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1602, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.1603, allocations: 19.92 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1603, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.1604, allocations: 11.94 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1604, allocations: 0 / 485.9 MB, free: 15.14 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.0001185/0.1605, allocations: 125.8 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1606, allocations: 11.84 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.1606, allocations: 17.41 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1606, allocations: 8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1606, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1607, allocations: 7.922 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.1611, allocations: 395.2 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1612, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.1612, allocations: 8 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1612, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1612, allocations: 3.984 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1612, allocations: 8.031 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1612, allocations: 192 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1615, allocations: 200.2 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.1616, allocations: 92.86 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1616, allocations: 3.938 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1617, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1618, allocations: 11.98 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1618, allocations: 4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1619, allocations: 147.2 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 0 / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1622, allocations: 24 kB / 487 MB, free: 13.97 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.001679/0.1639, allocations: 1.097 MB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1641, allocations: 67.89 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1642, allocations: 4.062 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.1643, allocations: 27.94 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1647, allocations: 35.34 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.1668, allocations: 1.644 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1672, allocations: 0.7041 MB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.1672, allocations: 20.86 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.1673, allocations: 35.42 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1673, allocations: 0 / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1901, allocations: 3.376 MB / 494 MB, free: 7.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.515, allocations: 11.94 kB / 494 MB, free: 7.055 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches