Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 210.2 kB / 23.77 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.94 MB / 360.8 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 75.88 kB / 0.4963 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3145, allocations: 66.09 MB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003107/0.3176, allocations: 1.722 MB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3193, allocations: 0.967 MB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.545e-05/0.3194, allocations: 0 / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.3196, allocations: 51.75 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3199, allocations: 107.5 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.3201, allocations: 75.73 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3203, allocations: 135.6 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.3204, allocations: 21.73 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.3205, allocations: 55.77 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3206, allocations: 47.78 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3207, allocations: 8 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3208, allocations: 67.89 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.3208, allocations: 23.92 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.3209, allocations: 43.72 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3211, allocations: 147.4 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3211, allocations: 0 / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.3212, allocations: 0 / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3212, allocations: 0 / 0.5642 GB, free: 0.5039 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005661/0.3217, allocations: 373.3 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3218, allocations: 8.031 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.3218, allocations: 42.75 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.3218, allocations: 12.84 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3221, allocations: 170.3 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3221, allocations: 384 / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3222, allocations: 12.38 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3224, allocations: 81.72 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3224, allocations: 0 / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3224, allocations: 3.984 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3224, allocations: 0 / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3225, allocations: 59.88 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.323, allocations: 291.9 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3233, allocations: 86.56 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.3234, allocations: 32.84 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3234, allocations: 4.156 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.3236, allocations: 87.36 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3236, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.000915/0.3245, allocations: 321 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3245, allocations: 55.41 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3248, allocations: 214.1 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3248, allocations: 29.7 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3248, allocations: 108.3 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.3249, allocations: 43.64 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.325, allocations: 33.72 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3251, allocations: 330.8 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.3252, allocations: 35.98 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3253, allocations: 65.62 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.3255, allocations: 99.45 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3255, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003039/0.3258, allocations: 165.5 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3258, allocations: 4 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3258, allocations: 4.031 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3259, allocations: 4 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.326, allocations: 23.98 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.326, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.326, allocations: 7.938 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.326, allocations: 4 kB / 0.5669 GB, free: 13.54 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 (15): * Single equations (assignments): 15 * 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.0001159/0.3261, allocations: 135.3 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3262, allocations: 15.91 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.3266, allocations: 198.9 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3266, allocations: 8 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3266, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3266, allocations: 8.781 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3273, allocations: 486.5 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3273, allocations: 0 / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3274, allocations: 27.92 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3274, allocations: 0 / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3274, allocations: 8 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3274, allocations: 0 / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3274, allocations: 8 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.3278, allocations: 280 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.3278, allocations: 23.78 kB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3278, allocations: 4 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.3279, allocations: 8 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.328, allocations: 11.97 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.328, allocations: 8 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3281, allocations: 155.2 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3281, allocations: 0 / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3284, allocations: 35.92 kB / 0.5683 GB, free: 12.06 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 (16): * Single equations (assignments): 14 * 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.002668/0.3311, allocations: 1.247 MB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3314, allocations: 107.9 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3314, allocations: 0 / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3315, allocations: 58.78 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3319, allocations: 35.91 kB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3341, allocations: 1.903 MB / 0.5715 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3342, allocations: 106.2 kB / 0.5716 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.022e-05/0.3343, allocations: 37.31 kB / 0.5717 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.3344, allocations: 51.42 kB / 0.5717 GB, free: 8.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3344, allocations: 0 / 0.5717 GB, free: 8.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.365, allocations: 4.928 MB / 0.5765 GB, free: 3.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.63, allocations: 0 / 0.5765 GB, free: 3.676 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.692372906953096]