Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0008917/0.0008917, 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.0009848/0.0009848, allocations: 170 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.9168/0.9168, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2794/0.2794, 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.463e-05, allocations: 4.391 kB / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002355/0.002379, allocations: 1.708 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.003885, allocations: 0.9703 MB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.003978, allocations: 3.938 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.004321, allocations: 87.67 kB / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.00463, allocations: 123.4 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.004827, allocations: 67.69 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.004997, allocations: 127.5 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.005092, allocations: 8 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.005185, allocations: 63.88 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.00528, allocations: 55.86 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.005297, allocations: 4 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.005381, allocations: 51.8 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.005449, allocations: 27.91 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.005495, allocations: 23.92 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005704, allocations: 119.6 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005706, allocations: 0 / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005707, allocations: 0 / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.005713, allocations: 4 kB / 443.1 MB, free: 0.6875 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.0004689/0.006182, allocations: 349.5 kB / 443.5 MB, free: 324 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.006224, allocations: 8.031 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.00626, allocations: 42.67 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.006294, allocations: 12.84 kB / 443.5 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006514, allocations: 157.5 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.006527, allocations: 4.375 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.006547, allocations: 384 / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1786/0.1852, allocations: 58.19 kB / 443.7 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.1852, allocations: 6.344 kB / 443.7 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1852, allocations: 2.312 kB / 443.7 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1852, allocations: 0 / 443.7 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1853, allocations: 22.2 kB / 443.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1857, allocations: 256.1 kB / 444 MB, free: 46.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1858, allocations: 57.44 kB / 444.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.1858, allocations: 22.62 kB / 444.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1858, allocations: 1.531 kB / 444.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.1859, allocations: 70.33 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1859, allocations: 0 / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004147/0.1864, allocations: 191 kB / 444.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1864, allocations: 55.69 kB / 444.4 MB, free: 46.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1865, allocations: 224.6 kB / 444.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1865, allocations: 28.55 kB / 444.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.1866, allocations: 110.6 kB / 444.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1866, allocations: 27.33 kB / 444.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1866, allocations: 25.53 kB / 444.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.1867, allocations: 329.8 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.1867, allocations: 25.28 kB / 445.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.1867, allocations: 34.78 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.065e-05/0.1868, allocations: 67.11 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1868, allocations: 2.625 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.343e-05/0.1869, allocations: 105.4 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1869, allocations: 5.844 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1869, allocations: 3.938 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1869, allocations: 2.969 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.187, allocations: 18.06 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.187, allocations: 6.234 kB / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.187, allocations: 0 / 445.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.187, allocations: 6.844 kB / 445.4 MB, free: 45.58 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.369e-05/0.1871, allocations: 132.2 kB / 445.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.1871, allocations: 19.81 kB / 445.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.1872, allocations: 120.2 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1872, allocations: 2.656 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1872, allocations: 0 / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1872, allocations: 3.469 kB / 445.7 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.1875, allocations: 374.2 kB / 446 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1875, allocations: 0 / 446 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.1875, allocations: 11.61 kB / 446 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1875, allocations: 6.375 kB / 446.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1875, allocations: 2.344 kB / 446.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1875, allocations: 11.91 kB / 446.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1875, allocations: 0 / 446.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.764e-05/0.1876, allocations: 213.7 kB / 446.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.1876, allocations: 14 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1876, allocations: 7.828 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.1877, allocations: 7.125 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.1877, allocations: 5.969 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1877, allocations: 2.906 kB / 446.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.1878, allocations: 175 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1878, allocations: 5.469 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.1879, allocations: 28.02 kB / 446.5 MB, free: 44.84 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.0008731/0.1888, allocations: 1.135 MB / 447.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1889, allocations: 68.5 kB / 447.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1889, allocations: 2.844 kB / 447.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.189, allocations: 31.95 kB / 447.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1892, allocations: 24.83 kB / 447.8 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.1901, allocations: 1.734 MB / 449.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.1902, allocations: 104.3 kB / 449.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.55e-05/0.1902, allocations: 20.81 kB / 449.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1903, allocations: 43.14 kB / 449.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1903, allocations: 0 / 449.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2062, allocations: 4.392 MB / 454.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.846, allocations: 12.02 kB / 454.1 MB, free: 41.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.885677590034902]