Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001928/0.001928, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002418/0.002418, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2291/0.2291, allocations: 46.93 MB / 360.9 MB, free: 4.297 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.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.88 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 66.03 MB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003288/0.3184, allocations: 1.749 MB / 0.5624 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.3212, allocations: 1.743 MB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.3212, allocations: 3.938 kB / 0.5641 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3215, allocations: 35.78 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3218, allocations: 99.53 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.322, allocations: 79.67 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3222, allocations: 111.7 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3223, allocations: 9.828 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3224, allocations: 55.77 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3226, allocations: 43.78 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3226, allocations: 4 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.3228, allocations: 103.9 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.3229, allocations: 23.91 kB / 0.5647 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.3229, allocations: 43.67 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3232, allocations: 171.4 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3232, allocations: 0 / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3232, allocations: 0 / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3232, allocations: 0 / 0.5649 GB, free: 220 kB / 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.0005694/0.3238, allocations: 345.5 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3238, allocations: 8.031 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.3239, allocations: 38.73 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3239, allocations: 12.84 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3242, allocations: 168 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3242, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3242, allocations: 8 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3244, allocations: 63.39 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3244, allocations: 0 / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3244, allocations: 3.984 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3244, allocations: 4 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.3245, allocations: 15.98 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3249, allocations: 267.8 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.325, allocations: 54.67 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3251, allocations: 16.86 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3251, allocations: 0 / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3253, allocations: 75.33 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3253, allocations: 0 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005545/0.3258, allocations: 169.6 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3259, allocations: 81.05 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3261, allocations: 166.1 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3261, allocations: 29.7 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3262, allocations: 100.1 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.3262, allocations: 39.72 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.3262, allocations: 17.72 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3264, allocations: 322.8 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.3265, allocations: 27.92 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.3265, allocations: 42.69 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3267, allocations: 65.69 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3267, allocations: 0 / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.3269, allocations: 93.62 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3269, allocations: 8 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3269, allocations: 0 / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3269, allocations: 0 / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.327, allocations: 19.88 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.327, allocations: 8.141 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.327, allocations: 4 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3271, allocations: 12.02 kB / 0.5671 GB, free: 13.75 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 (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 9.941e-05/0.3271, allocations: 117.8 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3272, allocations: 7.953 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.3274, allocations: 122.2 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3274, allocations: 3.938 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3274, allocations: 0 / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3274, allocations: 0 / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.3279, allocations: 370.4 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3279, allocations: 7.922 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.328, allocations: 11.98 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.328, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.328, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.328, allocations: 4 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.328, allocations: 0 / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3282, allocations: 208.3 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.3282, allocations: 11.89 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3283, allocations: 7.984 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.3284, allocations: 4 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3284, allocations: 3.984 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3284, allocations: 4 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3285, allocations: 127.2 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3285, allocations: 0 / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.3288, allocations: 47.86 kB / 0.5681 GB, free: 12.62 MB / 414.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 (8): * Single equations (assignments): 6 * 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.002433/0.3313, allocations: 1.197 MB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3315, allocations: 59.95 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3315, allocations: 0 / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.3315, allocations: 27.94 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3319, allocations: 30.2 kB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3337, allocations: 1.593 MB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3341, allocations: 0.7002 MB / 0.5716 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.3341, allocations: 20.95 kB / 0.5716 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.3342, allocations: 35.42 kB / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3342, allocations: 0 / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.3659, allocations: 4.208 MB / 0.5758 GB, free: 4.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.43, allocations: 6.688 kB / 0.5758 GB, free: 4.867 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.630266282001685]