Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.91 MB / 349.6 MB, free: 1.785 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 66.67 kB / 491.9 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1551, allocations: 64.26 MB / 0.5431 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004136/0.1593, allocations: 1.711 MB / 0.5448 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1622, allocations: 1.491 MB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.1623, allocations: 7.938 kB / 0.5462 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1626, allocations: 35.83 kB / 0.5463 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1628, allocations: 63.69 kB / 0.5463 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1632, allocations: 107.6 kB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1633, allocations: 103.6 kB / 0.5465 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1634, allocations: 8.516 kB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1635, allocations: 47.77 kB / 0.5466 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1637, allocations: 31.86 kB / 0.5466 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1637, allocations: 4 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1638, allocations: 63.95 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1639, allocations: 19.92 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.1639, allocations: 31.75 kB / 0.5467 GB, free: 280 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1642, allocations: 127.5 kB / 0.5468 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1642, allocations: 4 kB / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1642, allocations: 0 / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1642, allocations: 0 / 0.5468 GB, free: 148 kB / 398.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.0005986/0.1648, allocations: 406.8 kB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1648, allocations: 11.97 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.1649, allocations: 38.75 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1649, allocations: 8.891 kB / 0.5473 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1652, allocations: 204.1 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1652, allocations: 4.375 kB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1653, allocations: 11.94 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1654, allocations: 67.39 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1654, allocations: 0 / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1654, allocations: 0 / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1654, allocations: 0 / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1655, allocations: 19.98 kB / 0.5476 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1659, allocations: 284.8 kB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.166, allocations: 58.67 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.1661, allocations: 16.86 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1661, allocations: 7.969 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.1663, allocations: 71.39 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1663, allocations: 7.938 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005098/0.1668, allocations: 169.4 kB / 0.5482 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1668, allocations: 81.09 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.167, allocations: 155.6 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.167, allocations: 29.7 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.1671, allocations: 96.12 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1671, allocations: 19.86 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1671, allocations: 25.7 kB / 0.5486 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1673, allocations: 322.8 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.1673, allocations: 20 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.1674, allocations: 46.5 kB / 0.5489 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1675, allocations: 65.7 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1675, allocations: 0 / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1677, allocations: 97.66 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1677, allocations: 11.98 kB / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1677, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1677, allocations: 0 / 0.5491 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1678, allocations: 15.94 kB / 0.5491 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1678, allocations: 7.938 kB / 0.5491 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.1679, allocations: 7.938 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1679, allocations: 7.984 kB / 0.5491 GB, free: 13.54 MB / 414.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.0001083/0.168, allocations: 124.5 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.168, allocations: 11.91 kB / 0.5493 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1681, allocations: 12.72 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1681, allocations: 3.984 kB / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1681, allocations: 0 / 0.5493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1681, allocations: 3.938 kB / 0.5493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.1685, allocations: 387.3 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1686, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1686, allocations: 8 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1686, allocations: 7.969 kB / 0.5497 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1686, allocations: 7.984 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1686, allocations: 0 / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1686, allocations: 3.938 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1688, allocations: 200.3 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1689, allocations: 85.06 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1689, allocations: 8.312 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.169, allocations: 11.98 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.169, allocations: 4 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.169, allocations: 8 kB / 0.55 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1691, allocations: 117.3 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1691, allocations: 0 / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1694, allocations: 31.92 kB / 0.5501 GB, free: 12.41 MB / 414.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.002271/0.1717, allocations: 1.145 MB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1719, allocations: 59.91 kB / 0.5513 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1719, allocations: 0 / 0.5513 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.172, allocations: 23.98 kB / 0.5513 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1723, allocations: 24.11 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1742, allocations: 1.547 MB / 0.5529 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1746, allocations: 0.7001 MB / 0.5535 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.431e-05/0.1747, allocations: 25.33 kB / 0.5536 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.1748, allocations: 31.42 kB / 0.5536 GB, free: 8.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1748, allocations: 0 / 0.5536 GB, free: 8.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.2024, allocations: 3.583 MB / 0.5571 GB, free: 5.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.988, allocations: 6.438 kB / 0.5571 GB, free: 5.336 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.085281923878938]