Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.0008512/0.0008512, 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.000991/0.000991, 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.8942/0.8942, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2335/0.2335, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.503e-05, allocations: 4.109 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002253/0.002268, allocations: 1.712 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.00337, allocations: 0.978 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.003441, allocations: 4 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.003701, allocations: 35.77 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.003978, allocations: 103.5 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.004142, allocations: 79.66 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004291, allocations: 99.64 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.004374, allocations: 7.984 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.004444, allocations: 55.83 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.004507, allocations: 27.92 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.004527, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.004601, allocations: 47.86 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.004652, allocations: 27.84 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.004684, allocations: 19.92 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.00484, allocations: 115.6 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004842, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004843, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.004851, 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.0003906/0.005241, allocations: 353.5 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005278, allocations: 8.031 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.005307, allocations: 42.67 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.005334, allocations: 12.89 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.005498, allocations: 150.2 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.005509, allocations: 8.312 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.005524, allocations: 384 / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005632, allocations: 61.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.005641, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.005649, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.005653, allocations: 0 / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.005701, allocations: 19.98 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1772/0.1829, allocations: 255.4 kB / 443.9 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1831, allocations: 56.19 kB / 443.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.1831, allocations: 24.98 kB / 443.9 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1831, allocations: 2.969 kB / 443.9 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.1833, allocations: 67.83 kB / 444 MB, free: 46.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.1833, allocations: 0 / 444 MB, free: 46.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004375/0.1837, allocations: 185.7 kB / 444.2 MB, free: 46.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1837, allocations: 54.94 kB / 444.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1838, allocations: 210 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.1838, allocations: 25.7 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1839, allocations: 101.8 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.1839, allocations: 30.03 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1839, allocations: 23.22 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.184, allocations: 321.9 kB / 444.9 MB, free: 45.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.184, allocations: 21.97 kB / 445 MB, free: 45.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.184, allocations: 45.53 kB / 445 MB, free: 45.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.1841, allocations: 56.48 kB / 445.1 MB, free: 45.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1841, allocations: 3.062 kB / 445.1 MB, free: 45.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001059/0.1842, allocations: 115 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1842, allocations: 7.812 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1842, allocations: 6.219 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1842, allocations: 0 / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.1843, allocations: 14.84 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1843, allocations: 5.984 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.1844, allocations: 3.562 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1844, allocations: 0 / 445.2 MB, free: 45.49 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.573e-05/0.1844, allocations: 135.7 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.1844, allocations: 16.27 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1846, allocations: 121.2 kB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1846, allocations: 0 / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1846, allocations: 0 / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1846, allocations: 5.969 kB / 445.5 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1848, allocations: 375.2 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1848, allocations: 2.594 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.1849, allocations: 11.03 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1849, allocations: 0 / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1849, allocations: 5.406 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1849, allocations: 1.375 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1849, allocations: 0 / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.185, allocations: 220.2 kB / 446.1 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.185, allocations: 16.86 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.185, allocations: 0 / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.185, allocations: 6.969 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1851, allocations: 6.547 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1851, allocations: 3.062 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.1851, allocations: 151.9 kB / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1851, allocations: 0 / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1853, allocations: 26.02 kB / 446.3 MB, free: 44.79 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.0008867/0.1862, allocations: 1.158 MB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.1863, allocations: 56.58 kB / 447.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1863, allocations: 0 / 447.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.1864, allocations: 27.86 kB / 447.5 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1866, allocations: 28.23 kB / 447.6 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.1876, allocations: 1.678 MB / 449.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.116e-05/0.1876, allocations: 93.47 kB / 449.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.1877, allocations: 19.97 kB / 449.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1877, allocations: 42.08 kB / 449.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1877, allocations: 3.938 kB / 449.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.2031, allocations: 4.286 MB / 453.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.995, allocations: 6.875 kB / 453.7 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.9233482144773]