Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001703/0.001703, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001479/0.001479, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.86 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3659, allocations: 66.04 MB / 0.5607 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00319/0.3691, allocations: 1.724 MB / 0.5624 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3708, allocations: 0.9755 MB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.3709, allocations: 3.938 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3712, allocations: 83.69 kB / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3715, allocations: 115.6 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3717, allocations: 79.67 kB / 0.5636 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3719, allocations: 131.6 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.372, allocations: 13.81 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.3721, allocations: 55.77 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3722, allocations: 63.73 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3722, allocations: 8 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3724, allocations: 55.98 kB / 0.5639 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.3724, allocations: 31.86 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3725, allocations: 31.78 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3727, allocations: 143.4 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3727, allocations: 0 / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3727, allocations: 0 / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3727, allocations: 4 kB / 0.5641 GB, free: 0.7188 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005635/0.3733, allocations: 365.4 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3733, allocations: 8.031 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.3734, allocations: 42.73 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.3734, allocations: 12.84 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3737, allocations: 154.3 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3737, allocations: 12.31 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.3737, allocations: 3.938 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3738, allocations: 57.67 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3739, allocations: 0 / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.3739, allocations: 15.92 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3739, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.374, allocations: 23.98 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.3744, allocations: 275.8 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3747, allocations: 58.48 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.3747, allocations: 20.98 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3747, allocations: 0 / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3749, allocations: 75.38 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3749, allocations: 4 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007639/0.3757, allocations: 249.4 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3757, allocations: 63.28 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.376, allocations: 227.5 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.376, allocations: 25.7 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3761, allocations: 120.1 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3761, allocations: 31.73 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3762, allocations: 25.72 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3763, allocations: 322.8 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3764, allocations: 35.98 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.3765, allocations: 49.69 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3766, allocations: 85.58 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3766, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.3769, allocations: 129.6 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3769, allocations: 4 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3769, allocations: 0 / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3769, allocations: 0 / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.377, allocations: 31.91 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.377, allocations: 3.984 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.377, allocations: 8 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3771, allocations: 0 / 0.5665 GB, free: 14.01 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001166/0.3772, allocations: 134.4 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3772, allocations: 15.89 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.3775, allocations: 162.8 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3775, allocations: 3.938 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3775, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3775, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.3781, allocations: 431.1 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3781, allocations: 4 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.3781, allocations: 16 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3781, allocations: 0 / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3782, allocations: 4 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3782, allocations: 0 / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3782, allocations: 7.984 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3785, allocations: 245 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.3785, allocations: 11.91 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3785, allocations: 16.05 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.3786, allocations: 0 / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3786, allocations: 7.984 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3786, allocations: 4.094 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3788, allocations: 181.1 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3788, allocations: 0 / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00033/0.3791, allocations: 31.94 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002568/0.3817, allocations: 1.225 MB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3819, allocations: 87.77 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3819, allocations: 0 / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.382, allocations: 39.92 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3824, allocations: 39.2 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3844, allocations: 1.83 MB / 0.5709 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.3845, allocations: 102 kB / 0.571 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.3846, allocations: 24.41 kB / 0.571 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.3847, allocations: 43.42 kB / 0.571 GB, free: 9.387 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3847, allocations: 0 / 0.571 GB, free: 9.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.4157, allocations: 4.565 MB / 0.5755 GB, free: 4.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 11.92 kB / 0.5755 GB, free: 4.879 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.000446903984994]