Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001836/0.001836, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002009/0.002009, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2272/0.2272, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 72.17 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003643/0.354, allocations: 1.711 MB / 0.5587 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3561, allocations: 0.9715 MB / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.3562, allocations: 3.938 kB / 0.5597 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3566, allocations: 55.75 kB / 0.5597 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.3569, allocations: 103.6 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.3571, allocations: 75.67 kB / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3573, allocations: 107.7 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3575, allocations: 9.828 kB / 0.56 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.3575, allocations: 39.8 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3576, allocations: 39.77 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3577, allocations: 4 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3578, allocations: 43.98 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.3578, allocations: 27.86 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.3579, allocations: 31.73 kB / 0.5602 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.3582, allocations: 143.4 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3582, allocations: 4 kB / 0.5603 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3582, allocations: 0 / 0.5603 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3582, allocations: 3.938 kB / 0.5603 GB, free: 4.133 MB / 398.1 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.0006428/0.3588, allocations: 377.2 kB / 0.5607 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3589, allocations: 12.03 kB / 0.5607 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.3589, allocations: 38.73 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.359, allocations: 16.84 kB / 0.5607 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.3593, allocations: 175 kB / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3593, allocations: 384 / 0.5609 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3593, allocations: 7.938 kB / 0.5609 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3595, allocations: 53.67 kB / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3595, allocations: 0 / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3595, allocations: 3.938 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3595, allocations: 0 / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3596, allocations: 23.98 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.3601, allocations: 268 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3603, allocations: 54.67 kB / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3603, allocations: 28.78 kB / 0.5613 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3603, allocations: 0 / 0.5613 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.3605, allocations: 67.39 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3605, allocations: 0 / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006279/0.3612, allocations: 193.2 kB / 0.5616 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.3612, allocations: 55.41 kB / 0.5616 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.3616, allocations: 291.1 kB / 0.5619 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3616, allocations: 37.64 kB / 0.5619 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3617, allocations: 120.1 kB / 0.5621 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3617, allocations: 23.83 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.3618, allocations: 29.66 kB / 0.5621 GB, free: 2.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.362, allocations: 330.8 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.3621, allocations: 16 kB / 0.5624 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.3621, allocations: 37.7 kB / 0.5625 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3623, allocations: 61.64 kB / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3623, allocations: 0 / 0.5625 GB, free: 1.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.3625, allocations: 121.5 kB / 0.5627 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3625, allocations: 4 kB / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3625, allocations: 0 / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3625, allocations: 0 / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3626, allocations: 20.36 kB / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3626, allocations: 160 / 0.5627 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.3627, allocations: 7.875 kB / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3627, allocations: 8 kB / 0.5627 GB, free: 1.492 MB / 398.1 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 0.0001395/0.3628, allocations: 133.8 kB / 0.5628 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3628, allocations: 15.91 kB / 0.5628 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.3631, allocations: 139 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3631, allocations: 4 kB / 0.563 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3631, allocations: 0 / 0.563 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3632, allocations: 7.922 kB / 0.563 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.3638, allocations: 374.4 kB / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3638, allocations: 4 kB / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3638, allocations: 15.92 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3638, allocations: 3.938 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3638, allocations: 4 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3638, allocations: 8.031 kB / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3638, allocations: 0 / 0.5634 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3641, allocations: 224.4 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3641, allocations: 11.91 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3642, allocations: 11.94 kB / 0.5636 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.3642, allocations: 0 / 0.5636 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3643, allocations: 7.984 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3643, allocations: 4 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3645, allocations: 224.6 kB / 0.5638 GB, free: 232 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 0.5638 GB, free: 232 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3648, allocations: 24 kB / 0.5639 GB, free: 208 kB / 398.1 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.002398/0.3672, allocations: 1.137 MB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3674, allocations: 59.91 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.3674, allocations: 4 kB / 0.565 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.3675, allocations: 35.91 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3678, allocations: 35.61 kB / 0.5651 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.3701, allocations: 1.876 MB / 0.5669 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3702, allocations: 117.2 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.458e-05/0.3703, allocations: 20.91 kB / 0.5671 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.3704, allocations: 43.42 kB / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3704, allocations: 0 / 0.5671 GB, free: 12.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4034, allocations: 4.52 MB / 0.5715 GB, free: 8.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 15.05 kB / 0.5715 GB, free: 8.488 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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: 14.689727101009339]