Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, 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.0014/0.001401, 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.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 80.41 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1501, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004414/0.1545, allocations: 1.789 MB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1565, allocations: 1.006 MB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1566, allocations: 0 / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.157, allocations: 39.78 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.1575, allocations: 79.73 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1578, allocations: 67.75 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.1581, allocations: 99.75 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1583, allocations: 4 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1584, allocations: 35.8 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1585, allocations: 43.7 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1586, allocations: 4 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1587, allocations: 43.98 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1588, allocations: 19.91 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.1589, allocations: 31.81 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1592, allocations: 107.9 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1592, allocations: 0 / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1592, allocations: 0 / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1592, allocations: 0 / 482.8 MB, free: 2.254 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.0007191/0.16, allocations: 407 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.16, allocations: 16.81 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.1601, allocations: 34.75 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.1602, allocations: 12.84 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1604, allocations: 200.2 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1605, allocations: 4.375 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1605, allocations: 7.938 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1607, allocations: 53.67 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1607, allocations: 0 / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1607, allocations: 0 / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1607, allocations: 0 / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.1608, allocations: 23.92 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.1613, allocations: 300.7 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1615, allocations: 58.67 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1616, allocations: 16.86 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1616, allocations: 0 / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1618, allocations: 83.31 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1619, allocations: 0 / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.1624, allocations: 165.2 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1625, allocations: 51.41 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1627, allocations: 178.1 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1627, allocations: 29.7 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1628, allocations: 92.14 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1628, allocations: 31.64 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.1629, allocations: 25.72 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.163, allocations: 318.8 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1631, allocations: 23.98 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.1632, allocations: 45.58 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1633, allocations: 61.64 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1633, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.1635, allocations: 97.58 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1636, allocations: 8 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1636, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1636, allocations: 3.938 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.1637, allocations: 19.98 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.1637, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1638, allocations: 3.938 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1638, allocations: 4 kB / 485.1 MB, free: 15.68 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.0001085/0.1639, allocations: 129.9 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.1639, allocations: 11.81 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.164, allocations: 12.88 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.164, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.164, allocations: 4 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.164, allocations: 7.922 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.1645, allocations: 395.3 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1645, allocations: 0 / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.1646, allocations: 11.94 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1646, allocations: 3.938 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1646, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1646, allocations: 0 / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1646, allocations: 0 / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1649, allocations: 204.3 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1649, allocations: 85.02 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.165, allocations: 4.312 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1651, allocations: 4 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1651, allocations: 11.98 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1651, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1653, allocations: 131.2 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.1653, allocations: 0 / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1655, allocations: 27.92 kB / 486.1 MB, free: 14.54 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.001553/0.1671, allocations: 1.093 MB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1673, allocations: 55.91 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1673, allocations: 0 / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.1674, allocations: 31.94 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1678, allocations: 27.97 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1696, allocations: 1.614 MB / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.17, allocations: 0.7079 MB / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.17, allocations: 12.88 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1701, allocations: 31.42 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1701, allocations: 0 / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1851, allocations: 3.07 MB / 492.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.1854, allocations: 235.5 kB / 493 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.068, allocations: 4 kB / 493 MB, free: 7.746 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches