Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009089/0.0009089, 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.0009756/0.0009756, 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.9105/0.9105, 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.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.2441/0.2441, allocations: 34.25 MB / 294.9 MB, free: 0.6992 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.198e-06/4.198e-06, allocations: 3.984 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/2.038e-05, allocations: 2.281 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.1736/0.1737, allocations: 1.725 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.1746, allocations: 0.9867 MB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.1747, allocations: 2.531 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.175, allocations: 109 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1752, allocations: 133.5 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.1753, allocations: 75.56 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1755, allocations: 132.8 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.1756, allocations: 13.3 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.1756, allocations: 78.05 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.1757, allocations: 66.42 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1757, allocations: 5.812 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.1758, allocations: 63.59 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1759, allocations: 35.5 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1759, allocations: 25.05 kB / 445.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1761, allocations: 155.8 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1761, allocations: 0.5938 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1761, allocations: 3.938 kB / 445.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1761, allocations: 0 / 445.9 MB, free: 42.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003671/0.1764, allocations: 391 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1765, allocations: 8.688 kB / 446.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.092e-05/0.1765, allocations: 30.75 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1765, allocations: 21.39 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1767, allocations: 162.6 kB / 446.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1767, allocations: 6.438 kB / 446.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1767, allocations: 2.75 kB / 446.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1768, allocations: 80.47 kB / 446.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1769, allocations: 1.781 kB / 446.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1769, allocations: 6.25 kB / 446.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1769, allocations: 0 / 446.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.1769, allocations: 35.88 kB / 446.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.1772, allocations: 292.9 kB / 446.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1774, allocations: 74.12 kB / 446.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.1774, allocations: 25.97 kB / 447 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1774, allocations: 0 / 447 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.425e-05/0.1775, allocations: 76.11 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1775, allocations: 0 / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005072/0.178, allocations: 295 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1781, allocations: 58 kB / 447.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1782, allocations: 261.3 kB / 447.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.1782, allocations: 32.14 kB / 447.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.1782, allocations: 113.9 kB / 447.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1783, allocations: 40.84 kB / 447.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1783, allocations: 27.25 kB / 447.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.929e-05/0.1783, allocations: 335 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.1784, allocations: 33.95 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.1784, allocations: 51.36 kB / 448.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.1785, allocations: 93.16 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1785, allocations: 2.062 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001297/0.1786, allocations: 155.6 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1786, allocations: 5.812 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1786, allocations: 3.234 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1786, allocations: 0 / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.1787, allocations: 23.34 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1787, allocations: 3.938 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.1787, allocations: 6.656 kB / 448.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1787, allocations: 5.531 kB / 448.6 MB, free: 41.1 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 (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 5.461e-05/0.1788, allocations: 136.8 kB / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1788, allocations: 20.33 kB / 448.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.179, allocations: 181 kB / 448.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.179, allocations: 0 / 448.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.179, allocations: 2.906 kB / 448.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.179, allocations: 3.469 kB / 448.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1793, allocations: 463.2 kB / 449.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1793, allocations: 2.781 kB / 449.4 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1793, allocations: 20.09 kB / 449.4 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1793, allocations: 3.938 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1793, allocations: 10.25 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1793, allocations: 2.906 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1793, allocations: 3.938 kB / 449.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1795, allocations: 260.3 kB / 449.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.1795, allocations: 13.47 kB / 449.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1795, allocations: 17.02 kB / 449.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.1795, allocations: 5.703 kB / 449.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1796, allocations: 8.75 kB / 449.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1796, allocations: 12.73 kB / 449.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.05e-05/0.1796, allocations: 195.7 kB / 449.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1796, allocations: 4 kB / 449.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000174/0.1798, allocations: 33.77 kB / 449.9 MB, free: 40.2 MB / 410.7 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.0009439/0.1808, allocations: 1.259 MB / 451.2 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1809, allocations: 97.42 kB / 451.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1809, allocations: 2.969 kB / 451.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.181, allocations: 49.55 kB / 451.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1812, allocations: 33.27 kB / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1823, allocations: 1.974 MB / 453.3 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.1823, allocations: 116.2 kB / 453.5 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.1824, allocations: 30.06 kB / 453.5 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.1824, allocations: 58.36 kB / 453.5 MB, free: 37.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1824, allocations: 0 / 453.5 MB, free: 37.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1998, allocations: 5.08 MB / 458.6 MB, free: 36.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.988, allocations: 2.812 kB / 458.6 MB, free: 36.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.977541826665401]