Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009807/0.0009807, 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.0008929/0.0008929, 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.8761/0.8761, 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.2516/0.2516, allocations: 32.8 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.46e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00323/0.003254, allocations: 1.711 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.00486, allocations: 0.9762 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.004961, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.005276, allocations: 39.83 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.005636, allocations: 103.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.006185, allocations: 71.67 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.006393, allocations: 115.5 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.0065, allocations: 4 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.006618, allocations: 47.91 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.006705, allocations: 31.89 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.006728, allocations: 4 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.006846, allocations: 51.8 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.006911, allocations: 27.91 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.006959, allocations: 19.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.007195, allocations: 107.6 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.007198, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0072, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.007206, allocations: 3.984 kB / 443 MB, free: 0.8359 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.0005749/0.007781, allocations: 341.5 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.00783, allocations: 12.03 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.007872, allocations: 38.67 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.007917, allocations: 12.84 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.008252, allocations: 154.2 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.008272, allocations: 4.312 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.008296, allocations: 4.375 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.008474, allocations: 57.98 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.008491, allocations: 3.984 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.008502, allocations: 0 / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008507, allocations: 0 / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.008592, allocations: 23.98 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1771/0.1857, allocations: 252.3 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.1859, allocations: 57.09 kB / 443.9 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.1859, allocations: 26.55 kB / 443.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1859, allocations: 0 / 443.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1861, allocations: 68.38 kB / 444 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.1861, allocations: 0.7188 kB / 444 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005511/0.1867, allocations: 186.6 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1867, allocations: 57.62 kB / 444.2 MB, free: 46.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1868, allocations: 184.5 kB / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.1868, allocations: 29.02 kB / 444.5 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1869, allocations: 101.5 kB / 444.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1869, allocations: 30 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1869, allocations: 25 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.187, allocations: 320.8 kB / 444.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.187, allocations: 22.73 kB / 444.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.1871, allocations: 38.59 kB / 445 MB, free: 45.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.1871, allocations: 59.09 kB / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1872, allocations: 0 / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001186/0.1873, allocations: 116.1 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1873, allocations: 8.562 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1873, allocations: 0 / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1873, allocations: 0 / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.1874, allocations: 14.33 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1874, allocations: 3.203 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.1874, allocations: 12.48 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1874, allocations: 2.344 kB / 445.2 MB, free: 45.5 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.765e-05/0.1875, allocations: 126.4 kB / 445.3 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1875, allocations: 20.66 kB / 445.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.1877, allocations: 121.1 kB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1877, allocations: 0 / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1877, allocations: 3.422 kB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1877, allocations: 3.062 kB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.1881, allocations: 366.9 kB / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1881, allocations: 2.906 kB / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.1881, allocations: 8.844 kB / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1881, allocations: 0 / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1881, allocations: 12.17 kB / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1881, allocations: 0 / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1881, allocations: 0 / 445.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1883, allocations: 217.8 kB / 446.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.1883, allocations: 10.48 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1883, allocations: 6.969 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.1883, allocations: 3.234 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.1884, allocations: 6.406 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1884, allocations: 9.281 kB / 446.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.1885, allocations: 142.7 kB / 446.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1885, allocations: 0 / 446.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.1887, allocations: 26.66 kB / 446.3 MB, free: 44.82 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.001064/0.1898, allocations: 1.14 MB / 447.4 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1899, allocations: 62.02 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1899, allocations: 0 / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.19, allocations: 29.14 kB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1903, allocations: 28.7 kB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1914, allocations: 1.65 MB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.1915, allocations: 92.58 kB / 449.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.1915, allocations: 21.69 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1916, allocations: 36.06 kB / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1916, allocations: 0.9844 kB / 449.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.2092, allocations: 4.23 MB / 453.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.835, allocations: 2.875 kB / 453.5 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.78091425448656]