Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008644/0.0008644, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009016/0.0009016, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8727/0.8727, allocations: 177 MB / 204.1 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2394/0.2394, allocations: 34.23 MB / 294.8 MB, free: 0.7109 MB / 266.7 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.043e-05, allocations: 9.031 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.1609/0.1609, allocations: 1.781 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.162, allocations: 1.055 MB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.1621, allocations: 0 / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.1625, allocations: 310.1 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1629, allocations: 264.4 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.163, allocations: 109.2 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1632, allocations: 266.2 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1632, allocations: 7.594 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1634, allocations: 161.1 kB / 446.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1635, allocations: 201.2 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1635, allocations: 9.062 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.1636, allocations: 54.64 kB / 446.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.1637, allocations: 139 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1638, allocations: 80.69 kB / 446.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.164, allocations: 352.1 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.164, allocations: 0 / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.164, allocations: 0.875 kB / 447 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.164, allocations: 0 / 447 MB, free: 42.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005704/0.1646, allocations: 0.6886 MB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1646, allocations: 8.781 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.1647, allocations: 34.5 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.1647, allocations: 54.72 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1651, allocations: 391.9 kB / 448.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1651, allocations: 3.156 kB / 448.2 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1651, allocations: 3.125 kB / 448.2 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1652, allocations: 90 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1652, allocations: 4.125 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1653, allocations: 4.625 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1653, allocations: 2.938 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.1653, allocations: 35.81 kB / 448.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.1656, allocations: 326.6 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1657, allocations: 110.8 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.1658, allocations: 38.97 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1658, allocations: 2.688 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1659, allocations: 109.4 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1659, allocations: 2.781 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002751/0.1662, allocations: 215.6 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.1662, allocations: 77.11 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.1669, allocations: 1.065 MB / 450.2 MB, free: 40.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1669, allocations: 28.58 kB / 450.2 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.167, allocations: 238.4 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.167, allocations: 37.09 kB / 450.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1671, allocations: 26.31 kB / 450.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.1671, allocations: 371.4 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.1672, allocations: 32.08 kB / 450.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1673, allocations: 58.66 kB / 451 MB, free: 40.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.1674, allocations: 95.47 kB / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1674, allocations: 0 / 451.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001657/0.1676, allocations: 180.3 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1676, allocations: 5.594 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1676, allocations: 7.266 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1676, allocations: 2.875 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.1677, allocations: 20.61 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1677, allocations: 0 / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.1678, allocations: 13.89 kB / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1678, allocations: 12.22 kB / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001184/0.1679, allocations: 228.9 kB / 451.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1679, allocations: 54.22 kB / 451.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1681, allocations: 205.4 kB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1681, allocations: 2.625 kB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1681, allocations: 3.938 kB / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1681, allocations: 0 / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1683, allocations: 300 kB / 452.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1683, allocations: 4 kB / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.1683, allocations: 14.91 kB / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1683, allocations: 0 / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1683, allocations: 10.84 kB / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1683, allocations: 0 / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1683, allocations: 0 / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.1685, allocations: 223.5 kB / 452.3 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1685, allocations: 64.52 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1686, allocations: 7.938 kB / 452.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.1686, allocations: 9 kB / 452.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1686, allocations: 10.06 kB / 452.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1686, allocations: 12.72 kB / 452.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004116/0.1691, allocations: 0.7883 MB / 453.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1691, allocations: 0 / 453.2 MB, free: 39.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.1693, allocations: 46.5 kB / 453.3 MB, free: 39.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008932/0.1702, allocations: 1.093 MB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1703, allocations: 89.84 kB / 454.5 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1703, allocations: 4.062 kB / 454.5 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.1704, allocations: 44.03 kB / 454.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1706, allocations: 65.8 kB / 454.6 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.1739, allocations: 4.619 MB / 459.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.174, allocations: 252.7 kB / 459.4 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1741, allocations: 52.56 kB / 459.5 MB, free: 35.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1743, allocations: 158.6 kB / 459.6 MB, free: 35.88 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1743, allocations: 0 / 459.6 MB, free: 35.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1941, allocations: 10.14 MB / 469.8 MB, free: 33.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.971, allocations: 5.656 kB / 469.8 MB, free: 33.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 8.916568329557776]