Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001777/0.001777, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002254/0.002254, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2234/0.2234, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.002351/0.002351, allocations: 64.09 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3257, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00319/0.3289, allocations: 1.716 MB / 0.5587 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3307, allocations: 0.9792 MB / 0.5597 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3308, allocations: 0 / 0.5597 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.331, allocations: 47.77 kB / 0.5597 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.3313, allocations: 103.6 kB / 0.5598 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3315, allocations: 75.67 kB / 0.5599 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3317, allocations: 103.7 kB / 0.56 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.3318, allocations: 13.75 kB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.3318, allocations: 47.78 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.3319, allocations: 27.86 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3319, allocations: 4 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.332, allocations: 39.98 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.3321, allocations: 23.91 kB / 0.5601 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.3321, allocations: 39.73 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3323, allocations: 131.4 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3324, allocations: 7.984 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3324, allocations: 0 / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3324, allocations: 0 / 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.0005277/0.3329, allocations: 359.3 kB / 0.5606 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3329, allocations: 12.03 kB / 0.5607 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.333, allocations: 34.69 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.333, allocations: 12.89 kB / 0.5607 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3333, allocations: 159.1 kB / 0.5608 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3333, allocations: 4.375 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3333, allocations: 7.938 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3335, allocations: 61.59 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3335, allocations: 0 / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3335, allocations: 4 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3335, allocations: 0 / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.3336, allocations: 19.98 kB / 0.5609 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3339, allocations: 259.9 kB / 0.5612 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3341, allocations: 62.61 kB / 0.5613 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.3342, allocations: 24.84 kB / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3342, allocations: 0 / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3344, allocations: 67.39 kB / 0.5613 GB, free: 2.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3344, allocations: 3.938 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.3349, allocations: 189.5 kB / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.335, allocations: 55.41 kB / 0.5616 GB, free: 2.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.3352, allocations: 246.9 kB / 0.5618 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3353, allocations: 25.7 kB / 0.5618 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.3353, allocations: 116.1 kB / 0.5619 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3354, allocations: 23.84 kB / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3354, allocations: 21.72 kB / 0.562 GB, free: 2.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3356, allocations: 330.8 kB / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.3356, allocations: 20.19 kB / 0.5623 GB, free: 1.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.3357, allocations: 45.64 kB / 0.5624 GB, free: 1.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3358, allocations: 57.7 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3358, allocations: 0 / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.336, allocations: 113.5 kB / 0.5625 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.336, allocations: 4 kB / 0.5625 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.336, allocations: 4.031 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3361, allocations: 4 kB / 0.5625 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/0.3361, allocations: 15.98 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.3361, allocations: 0 / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.3362, allocations: 11.88 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3362, allocations: 4 kB / 0.5626 GB, free: 1.59 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.0001249/0.3363, allocations: 134 kB / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3364, allocations: 11.91 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3366, allocations: 135.1 kB / 0.5628 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3366, allocations: 4 kB / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3366, allocations: 0 / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.3366, allocations: 11.91 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.3372, allocations: 370.4 kB / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3372, allocations: 0 / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.3372, allocations: 8 kB / 0.5632 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3372, allocations: 3.938 kB / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3372, allocations: 4 kB / 0.5632 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3372, allocations: 0 / 0.5632 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3372, allocations: 3.984 kB / 0.5632 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3375, allocations: 220.3 kB / 0.5634 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.3375, allocations: 11.91 kB / 0.5635 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3375, allocations: 11.88 kB / 0.5635 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3376, allocations: 3.984 kB / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3377, allocations: 11.98 kB / 0.5635 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3377, allocations: 7.984 kB / 0.5635 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.3378, allocations: 175.2 kB / 0.5637 GB, free: 400 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3378, allocations: 0 / 0.5637 GB, free: 400 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3381, allocations: 27.98 kB / 0.5637 GB, free: 372 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.002267/0.3404, allocations: 1.134 MB / 0.5648 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3406, allocations: 55.91 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3406, allocations: 0 / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.3407, allocations: 39.98 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.341, allocations: 40.47 kB / 0.5649 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.343, allocations: 1.758 MB / 0.5666 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3431, allocations: 96.67 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.3431, allocations: 25.02 kB / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3432, allocations: 39.42 kB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3432, allocations: 0 / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.3732, allocations: 4.294 MB / 0.571 GB, free: 9.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 20.67 kB / 0.571 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.910242904443294]