Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0006301/0.0006301, 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.0008844/0.0008844, allocations: 170 kB / 23.95 MB, free: 0.6055 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.2 MB, free: 5.727 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.2455/0.2455, allocations: 32.79 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.085e-05, allocations: 3.828 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002306/0.002327, allocations: 1.716 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003543, allocations: 0.9801 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.003659, allocations: 4 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.004025, allocations: 79.64 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.004436, allocations: 123.4 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.004665, allocations: 83.59 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.004872, allocations: 115.7 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.004992, allocations: 8 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.005086, allocations: 59.77 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005197, allocations: 63.86 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.005216, allocations: 4 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.005317, allocations: 47.91 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.005387, allocations: 27.86 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.005432, allocations: 15.94 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.005633, allocations: 127.5 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005635, allocations: 0 / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005637, allocations: 0 / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.005642, allocations: 4 kB / 443.1 MB, free: 0.6992 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.0004126/0.006055, allocations: 349.5 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.006094, allocations: 8.031 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.006125, allocations: 38.69 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.006159, allocations: 20.84 kB / 443.5 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.006347, allocations: 157.4 kB / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.006358, allocations: 384 / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.006375, allocations: 4.375 kB / 443.7 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006494, allocations: 57.98 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.006504, allocations: 0 / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.006513, allocations: 4 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.006519, allocations: 3.984 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1951/0.2016, allocations: 18.33 kB / 443.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.2019, allocations: 262.4 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.202, allocations: 56 kB / 444.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.2021, allocations: 20.55 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2021, allocations: 2.531 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.2022, allocations: 67.31 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2022, allocations: 1.531 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003864/0.2026, allocations: 192.7 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.2026, allocations: 53.91 kB / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2027, allocations: 225.5 kB / 444.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.2027, allocations: 29.58 kB / 444.6 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2028, allocations: 109.3 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2028, allocations: 28.95 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.2028, allocations: 25.17 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.2029, allocations: 323.3 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2029, allocations: 22.53 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.2029, allocations: 36.09 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.757e-05/0.203, allocations: 62.28 kB / 445.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.203, allocations: 9.781 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.2031, allocations: 109.1 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2031, allocations: 8.344 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2031, allocations: 0 / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2031, allocations: 0 / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.2032, allocations: 18.09 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2032, allocations: 6.531 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.2033, allocations: 7.656 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2033, allocations: 2.844 kB / 445.4 MB, free: 45.55 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 7.115e-05/0.2033, allocations: 134.3 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2033, allocations: 13.69 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.2035, allocations: 122.1 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2035, allocations: 2.906 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2035, allocations: 3.812 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2035, allocations: 0 / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.2038, allocations: 379 kB / 446 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2038, allocations: 0 / 446 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.2038, allocations: 12.69 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2038, allocations: 2.812 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2038, allocations: 5.766 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.2038, allocations: 4.375 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2038, allocations: 0 / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2039, allocations: 220.2 kB / 446.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.204, allocations: 13.28 kB / 446.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.204, allocations: 6.781 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.204, allocations: 0 / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.204, allocations: 11.41 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2041, allocations: 9.578 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.2041, allocations: 175 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2041, allocations: 2.875 kB / 446.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.2043, allocations: 23.42 kB / 446.5 MB, free: 44.8 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.001018/0.2053, allocations: 1.136 MB / 447.7 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2055, allocations: 65.78 kB / 447.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2055, allocations: 0 / 447.7 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.2055, allocations: 29.19 kB / 447.7 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.0002393/0.2058, allocations: 32.5 kB / 447.8 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2071, allocations: 1.738 MB / 449.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.2072, allocations: 102.2 kB / 449.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.2072, allocations: 13.33 kB / 449.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.2073, allocations: 43.05 kB / 449.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2073, allocations: 0 / 449.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.2244, allocations: 4.397 MB / 454.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.826, allocations: 2.656 kB / 454.1 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.831895707175136]