Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0009003/0.0009003, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001006/0.001006, allocations: 174.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.8961/0.8961, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2271/0.2271, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 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.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.271e-05, allocations: 10.78 kB / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002205/0.002228, allocations: 1.706 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003328, allocations: 0.9703 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.003398, allocations: 7.938 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.003652, allocations: 31.83 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.003906, allocations: 99.47 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.004043, allocations: 75.61 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004192, allocations: 107.6 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.004283, allocations: 11.98 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.004359, allocations: 55.83 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.004427, allocations: 27.91 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.004442, allocations: 4 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.004515, allocations: 43.92 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.004568, allocations: 27.86 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.004603, allocations: 15.92 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.00477, allocations: 111.6 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004773, allocations: 4 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004774, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.004778, allocations: 0 / 443 MB, free: 0.832 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.0003923/0.005171, allocations: 341.6 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.005208, allocations: 8.031 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.005235, allocations: 34.69 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.005264, allocations: 8.891 kB / 443.3 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.005465, allocations: 152.6 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005475, allocations: 384 / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.005491, allocations: 4.375 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.0056, allocations: 61.92 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005609, allocations: 3.938 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.005617, allocations: 3.984 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005622, allocations: 8 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.005678, allocations: 23.98 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1568/0.1625, allocations: 245.7 kB / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1627, allocations: 54.73 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1627, allocations: 20.88 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1627, allocations: 0 / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.1629, allocations: 72.36 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1629, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004279/0.1633, allocations: 189.2 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.1633, allocations: 54.97 kB / 444.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1634, allocations: 175.6 kB / 444.4 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.1634, allocations: 27.08 kB / 444.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.1635, allocations: 101.9 kB / 444.5 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1635, allocations: 25.84 kB / 444.5 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1635, allocations: 27.38 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.1636, allocations: 320.8 kB / 444.9 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.1636, allocations: 23.58 kB / 444.9 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.1636, allocations: 40.47 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.1637, allocations: 65.22 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1637, allocations: 1.781 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001073/0.1638, allocations: 105.9 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1638, allocations: 4.594 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1638, allocations: 5.406 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1638, allocations: 0 / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.1639, allocations: 18.23 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1639, allocations: 3.203 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.1639, allocations: 7.594 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.164, allocations: 6.438 kB / 445.2 MB, free: 45.59 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 5.131e-05/0.164, allocations: 123.9 kB / 445.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.164, allocations: 15.02 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.1642, allocations: 119.4 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1642, allocations: 6.719 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1642, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1642, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.1644, allocations: 374.3 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1644, allocations: 0 / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.1644, allocations: 14.52 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1644, allocations: 0 / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1645, allocations: 5.219 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1645, allocations: 1.375 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1645, allocations: 0 / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1646, allocations: 218.6 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.1646, allocations: 10.8 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1646, allocations: 0 / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.1646, allocations: 8.906 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1647, allocations: 6.359 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1647, allocations: 8.844 kB / 446.1 MB, free: 45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.1647, allocations: 130.2 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1647, allocations: 2.625 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.1649, allocations: 28.22 kB / 446.2 MB, free: 44.91 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.0009544/0.1659, allocations: 1.139 MB / 447.4 MB, free: 44.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.166, allocations: 58.59 kB / 447.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.166, allocations: 2.688 kB / 447.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.166, allocations: 31.94 kB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1663, allocations: 21.67 kB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.1672, allocations: 1.629 MB / 449.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.1673, allocations: 89.33 kB / 449.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.1673, allocations: 18 kB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.1673, allocations: 39.25 kB / 449.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1673, allocations: 0 / 449.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1852, allocations: 4.179 MB / 453.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.966, allocations: 2.656 kB / 453.4 MB, free: 41.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.899887255392969]