Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8932/0.8932, allocations: 177.1 MB / 204.2 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 442.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.873e-05, allocations: 5.375 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.1724/0.1724, allocations: 1.709 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1735, allocations: 0.9761 MB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1736, allocations: 3.938 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1738, allocations: 48.44 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1741, allocations: 108.8 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.1742, allocations: 74.45 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1744, allocations: 118 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1744, allocations: 12.44 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.1745, allocations: 52.95 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.1746, allocations: 25.86 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1746, allocations: 4.281 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/0.1747, allocations: 42.48 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1747, allocations: 33.12 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1748, allocations: 26.8 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1749, allocations: 134.5 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1749, allocations: 6 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1749, allocations: 0 / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1749, allocations: 0 / 445.6 MB, free: 42.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003783/0.1753, allocations: 378.3 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1753, allocations: 8.344 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.182e-05/0.1754, allocations: 30.75 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1754, allocations: 16.81 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.1756, allocations: 166.3 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1756, allocations: 1.469 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1756, allocations: 3.219 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1757, allocations: 69.61 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1757, allocations: 0 / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.1757, allocations: 0 / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1757, allocations: 6.375 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.1758, allocations: 23.28 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.176, allocations: 271.2 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1761, allocations: 58.42 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.1762, allocations: 20.66 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1762, allocations: 0 / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.1763, allocations: 73.2 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1763, allocations: 0 / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000382/0.1767, allocations: 191.6 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1767, allocations: 54.09 kB / 447 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1768, allocations: 284.7 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1768, allocations: 28.64 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.1769, allocations: 116.4 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1769, allocations: 26.06 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.1769, allocations: 22.41 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.177, allocations: 334.6 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.177, allocations: 25.33 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.177, allocations: 42.06 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.1771, allocations: 56.11 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1771, allocations: 0 / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.1772, allocations: 116.1 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1772, allocations: 5.781 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1772, allocations: 0 / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1773, allocations: 0 / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.1773, allocations: 21.83 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1773, allocations: 0 / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.1774, allocations: 6.812 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1774, allocations: 6.359 kB / 448 MB, free: 41.27 MB / 410.7 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 6.382e-05/0.1774, allocations: 143 kB / 448.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1774, allocations: 18.64 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.1776, allocations: 127.1 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1776, allocations: 0 / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1776, allocations: 2.938 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1776, allocations: 0 / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1779, allocations: 389 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1779, allocations: 0 / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.1779, allocations: 8.531 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1779, allocations: 9.906 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1779, allocations: 4 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1779, allocations: 3.688 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1779, allocations: 7.172 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.178, allocations: 211.2 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.178, allocations: 21.36 kB / 449 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1781, allocations: 4.031 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.1781, allocations: 6.969 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1781, allocations: 10.05 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1781, allocations: 7.031 kB / 449 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1782, allocations: 219.8 kB / 449.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 0 / 449.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.1784, allocations: 28.36 kB / 449.2 MB, free: 40.44 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: 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 (9): * Single equations (assignments): 7 * 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.0009188/0.1793, allocations: 1.144 MB / 450.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1795, allocations: 55.09 kB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1795, allocations: 6.625 kB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.1795, allocations: 32.55 kB / 450.5 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1797, allocations: 37.2 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1808, allocations: 1.88 MB / 452.4 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.1809, allocations: 115.6 kB / 452.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.1809, allocations: 13.7 kB / 452.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.181, allocations: 47.88 kB / 452.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.181, allocations: 0 / 452.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1977, allocations: 4.675 MB / 457.2 MB, free: 36.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/7.01, allocations: 3.938 kB / 457.2 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.968290444463491]