Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.002059/0.002059, 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.001675/0.001675, allocations: 211.4 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.43/1.43, 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.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.2161/0.2161, allocations: 44.93 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.002264/0.002264, allocations: 71.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3173, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003441/0.3207, allocations: 1.709 MB / 0.5587 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3226, allocations: 0.9744 MB / 0.5597 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.3226, allocations: 0 / 0.5597 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3229, allocations: 55.75 kB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.3233, allocations: 107.5 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3235, allocations: 71.75 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3237, allocations: 111.6 kB / 0.56 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.3238, allocations: 5.828 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.3238, allocations: 43.78 kB / 0.56 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.3239, allocations: 31.84 kB / 0.5601 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3239, allocations: 4 kB / 0.5601 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.324, allocations: 43.98 kB / 0.5601 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.3241, allocations: 35.8 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.3242, allocations: 35.72 kB / 0.5602 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3244, allocations: 139.4 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3244, allocations: 0 / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3244, allocations: 0 / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.3244, allocations: 0 / 0.5603 GB, free: 4.156 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.0005731/0.325, allocations: 373.3 kB / 0.5607 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.325, allocations: 8.031 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.3251, allocations: 38.73 kB / 0.5607 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3251, allocations: 24.84 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3254, allocations: 159.2 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3254, allocations: 8.297 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3254, allocations: 7.938 kB / 0.5609 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3256, allocations: 53.67 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3256, allocations: 0 / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3256, allocations: 4 kB / 0.561 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3256, allocations: 4 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.3257, allocations: 15.98 kB / 0.561 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.326, allocations: 279.8 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3262, allocations: 58.67 kB / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.3263, allocations: 20.84 kB / 0.5613 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3263, allocations: 0 / 0.5613 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.3265, allocations: 71.33 kB / 0.5614 GB, free: 2.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3265, allocations: 3.938 kB / 0.5614 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005422/0.327, allocations: 185.3 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.327, allocations: 59.34 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3273, allocations: 287.7 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3274, allocations: 29.7 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.3274, allocations: 120.1 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3275, allocations: 23.8 kB / 0.5621 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3275, allocations: 21.7 kB / 0.5621 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3277, allocations: 330.8 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.3277, allocations: 19.98 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.3278, allocations: 33.7 kB / 0.5625 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3279, allocations: 65.64 kB / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3279, allocations: 0 / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.3281, allocations: 109.5 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3282, allocations: 8 kB / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3282, allocations: 0 / 0.5626 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3282, allocations: 3.984 kB / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.3283, allocations: 15.94 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3283, allocations: 4 kB / 0.5627 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.3283, allocations: 4.312 kB / 0.5627 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3283, allocations: 4 kB / 0.5627 GB, free: 1.539 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.0001257/0.3284, allocations: 137.8 kB / 0.5628 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3285, allocations: 19.94 kB / 0.5628 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.3288, allocations: 131.1 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3288, allocations: 7.938 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3288, allocations: 0 / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3288, allocations: 3.938 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3293, allocations: 378.4 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3293, allocations: 4 kB / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.3293, allocations: 8 kB / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3293, allocations: 4.219 kB / 0.5633 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3293, allocations: 12.03 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3293, allocations: 0 / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3293, allocations: 3.938 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3296, allocations: 216.2 kB / 0.5635 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.3296, allocations: 11.91 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3296, allocations: 7.938 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3297, allocations: 4 kB / 0.5636 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3298, allocations: 11.92 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3298, allocations: 4 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.33, allocations: 208.6 kB / 0.5638 GB, free: 300 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.33, allocations: 4 kB / 0.5638 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3302, allocations: 31.89 kB / 0.5638 GB, free: 264 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.002319/0.3326, allocations: 1.136 MB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3327, allocations: 67.89 kB / 0.565 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3328, allocations: 3.938 kB / 0.565 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.3328, allocations: 27.98 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3332, allocations: 33.8 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3353, allocations: 1.843 MB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3354, allocations: 109.2 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.3354, allocations: 16.97 kB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.3355, allocations: 47.41 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3355, allocations: 0 / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3669, allocations: 4.474 MB / 0.5714 GB, free: 8.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.84, allocations: 3.375 kB / 0.5714 GB, free: 8.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.924094571731985]