Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001847/0.001847, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002076/0.002076, allocations: 213 kB / 23.73 MB, free: 4.16 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.454/1.454, 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.2242/0.2242, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.002106/0.002106, allocations: 71.89 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003273/0.3248, allocations: 1.719 MB / 0.5587 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3265, allocations: 0.9676 MB / 0.5597 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.3265, allocations: 3.938 kB / 0.5597 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3268, allocations: 39.83 kB / 0.5597 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3272, allocations: 107.5 kB / 0.5598 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3274, allocations: 79.67 kB / 0.5599 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3275, allocations: 103.7 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.3276, allocations: 9.828 kB / 0.56 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.3277, allocations: 39.8 kB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.3278, allocations: 35.83 kB / 0.5601 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3278, allocations: 7.938 kB / 0.5601 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.3279, allocations: 39.98 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.328, allocations: 19.92 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.328, allocations: 31.8 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.3283, allocations: 127.4 kB / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3283, allocations: 0 / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3283, allocations: 0 / 0.5603 GB, free: 4.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3283, allocations: 0 / 0.5603 GB, free: 4.195 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.0006334/0.3289, allocations: 349.5 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.329, allocations: 8.031 kB / 0.5606 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.329, allocations: 34.73 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.329, allocations: 12.89 kB / 0.5607 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3293, allocations: 147 kB / 0.5608 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3293, allocations: 8.375 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3293, allocations: 3.938 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3295, allocations: 57.67 kB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3295, allocations: 0 / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3295, allocations: 0 / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3295, allocations: 0 / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.3296, allocations: 27.92 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.33, allocations: 263.9 kB / 0.5611 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3302, allocations: 54.67 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.3302, allocations: 24.84 kB / 0.5612 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3302, allocations: 0 / 0.5612 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3304, allocations: 71.33 kB / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3304, allocations: 0 / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.331, allocations: 185.3 kB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.331, allocations: 55.39 kB / 0.5615 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3312, allocations: 206.2 kB / 0.5617 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3313, allocations: 29.64 kB / 0.5617 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.3313, allocations: 108.1 kB / 0.5618 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3313, allocations: 23.8 kB / 0.5619 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.3314, allocations: 29.7 kB / 0.5619 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3315, allocations: 326.8 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.3316, allocations: 16.38 kB / 0.5622 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.3317, allocations: 37.7 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3318, allocations: 61.64 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3318, allocations: 4 kB / 0.5623 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.332, allocations: 109.6 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.332, allocations: 8 kB / 0.5624 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.332, allocations: 4.031 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.332, allocations: 3.938 kB / 0.5624 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.3321, allocations: 15.98 kB / 0.5625 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3321, allocations: 4 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.3321, allocations: 3.938 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3322, allocations: 4 kB / 0.5625 GB, free: 1.738 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.0001033/0.3323, allocations: 125.8 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.3323, allocations: 15.91 kB / 0.5626 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3325, allocations: 123.1 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3325, allocations: 4 kB / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3325, allocations: 0 / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3325, allocations: 3.938 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.333, allocations: 370.4 kB / 0.5631 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.333, allocations: 0 / 0.5631 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.333, allocations: 15.98 kB / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.333, allocations: 7.875 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.3331, allocations: 288 / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3331, allocations: 0 / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3331, allocations: 4 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3333, allocations: 220.2 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.3333, allocations: 7.953 kB / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3333, allocations: 11.92 kB / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.3334, allocations: 0 / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3335, allocations: 11.98 kB / 0.5633 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3335, allocations: 4 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3336, allocations: 156.2 kB / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3336, allocations: 0 / 0.5635 GB, free: 0.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3339, allocations: 23.94 kB / 0.5635 GB, free: 0.5586 MB / 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.002244/0.3361, allocations: 1.138 MB / 0.5646 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.3363, allocations: 59.91 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3363, allocations: 4 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.3364, allocations: 35.92 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3367, allocations: 36.55 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3385, allocations: 1.674 MB / 0.5664 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.3386, allocations: 88.19 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.3387, allocations: 21.02 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.3388, allocations: 39.42 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3388, allocations: 0 / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3676, allocations: 4.137 MB / 0.5706 GB, free: 9.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.67, allocations: 10.94 kB / 0.5706 GB, free: 9.469 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.748380003962666]