Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 87.84 kB / 0.4913 GB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1505, allocations: 65.99 MB / 0.5558 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003565/0.1541, allocations: 1.776 MB / 0.5575 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.156, allocations: 1.048 MB / 0.5585 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.156, allocations: 0 / 0.5585 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.1566, allocations: 103.7 kB / 0.5586 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.157, allocations: 127.5 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1572, allocations: 83.67 kB / 0.5588 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1574, allocations: 139.6 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1576, allocations: 13.41 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1577, allocations: 63.75 kB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1578, allocations: 79.72 kB / 0.5591 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1579, allocations: 8 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.158, allocations: 63.92 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1581, allocations: 35.83 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.1582, allocations: 43.69 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1585, allocations: 171.2 kB / 0.5594 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1585, allocations: 4 kB / 0.5594 GB, free: 2.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1585, allocations: 0 / 0.5594 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1585, allocations: 0 / 0.5594 GB, free: 2.312 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000745/0.1593, allocations: 470.2 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1593, allocations: 12.03 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.1594, allocations: 30.75 kB / 0.5599 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.1594, allocations: 16.84 kB / 0.5599 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.1598, allocations: 225.1 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1598, allocations: 12.38 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1598, allocations: 4.375 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.16, allocations: 81.72 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1601, allocations: 3.953 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1601, allocations: 7.938 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1601, allocations: 4 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1602, allocations: 31.97 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1607, allocations: 328.7 kB / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.1611, allocations: 74.48 kB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.1611, allocations: 24.84 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.1612, allocations: 4 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1614, allocations: 79.31 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1614, allocations: 0 / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001014/0.1624, allocations: 305.2 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.1625, allocations: 59.34 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1628, allocations: 259.7 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1628, allocations: 25.7 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1629, allocations: 120.1 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.163, allocations: 47.64 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.163, allocations: 29.72 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1632, allocations: 334.8 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.1633, allocations: 35.98 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1634, allocations: 63.41 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1636, allocations: 104.2 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1636, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002827/0.1639, allocations: 161.5 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1639, allocations: 8 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1639, allocations: 0 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1639, allocations: 0 / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.164, allocations: 27.98 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.164, allocations: 3.938 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.1641, allocations: 12.83 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1641, allocations: 4.109 kB / 0.5623 GB, free: 15.12 MB / 430.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 (16): * Single equations (assignments): 16 * 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.0001894/0.1643, allocations: 141.7 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1643, allocations: 27.88 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.1644, allocations: 25.52 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1644, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1644, allocations: 3.938 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1644, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.1651, allocations: 0.4961 MB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1651, allocations: 7.875 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.1652, allocations: 28.05 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1652, allocations: 0 / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1652, allocations: 8 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1652, allocations: 0 / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.1652, allocations: 7.984 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1656, allocations: 257 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.1657, allocations: 101 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1657, allocations: 0 / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.1658, allocations: 8 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.1658, allocations: 11.92 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1659, allocations: 8 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.166, allocations: 197.4 kB / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.166, allocations: 0 / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1663, allocations: 31.94 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00267/0.169, allocations: 1.201 MB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1693, allocations: 103.8 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1693, allocations: 4.062 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1694, allocations: 51.86 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1698, allocations: 37.94 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.1723, allocations: 2.014 MB / 0.567 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1727, allocations: 0.7239 MB / 0.5677 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.702e-05/0.1728, allocations: 25.41 kB / 0.5677 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.1729, allocations: 59.41 kB / 0.5677 GB, free: 9.488 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1729, allocations: 0 / 0.5677 GB, free: 9.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.198, allocations: 4.345 MB / 0.572 GB, free: 5.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.282, allocations: 27.58 kB / 0.572 GB, free: 5.176 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.464649966917932]