Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.00249/0.00249, allocations: 207.1 kB / 23.72 MB, free: 4.184 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.564/1.564, 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.2481/0.2481, allocations: 44.94 MB / 358.8 MB, free: 6.066 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.002287/0.002287, allocations: 71.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3439, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003557/0.3475, allocations: 1.713 MB / 0.5587 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3494, allocations: 0.9705 MB / 0.5597 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.3495, allocations: 3.938 kB / 0.5597 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.3498, allocations: 59.75 kB / 0.5597 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.3502, allocations: 99.59 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3505, allocations: 83.66 kB / 0.5599 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3507, allocations: 99.7 kB / 0.56 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3508, allocations: 13.81 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.3509, allocations: 47.78 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.3509, allocations: 31.73 kB / 0.5601 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.351, allocations: 4 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3511, allocations: 43.97 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.3512, allocations: 31.91 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.3512, allocations: 31.75 kB / 0.5602 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.3515, allocations: 139.4 kB / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3515, allocations: 0 / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3515, allocations: 4 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3515, allocations: 0 / 0.5603 GB, free: 4.148 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.0005974/0.3521, allocations: 381.2 kB / 0.5607 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3521, allocations: 16.03 kB / 0.5607 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3522, allocations: 30.75 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.3522, allocations: 12.84 kB / 0.5607 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3525, allocations: 155.3 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.3525, allocations: 384 / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3525, allocations: 7.938 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3527, allocations: 53.67 kB / 0.5609 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3527, allocations: 3.984 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3527, allocations: 4 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3527, allocations: 0 / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.3528, allocations: 31.92 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.3532, allocations: 271.9 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3534, allocations: 54.67 kB / 0.5613 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.3535, allocations: 20.84 kB / 0.5613 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3535, allocations: 7.922 kB / 0.5613 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3537, allocations: 67.39 kB / 0.5614 GB, free: 2.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3537, allocations: 0 / 0.5614 GB, free: 2.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006087/0.3543, allocations: 197.2 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3543, allocations: 51.41 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3546, allocations: 287.7 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3546, allocations: 29.7 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.3547, allocations: 120.1 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3548, allocations: 23.78 kB / 0.5621 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3548, allocations: 25.72 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3549, allocations: 326.8 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.355, allocations: 19.98 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.3551, allocations: 37.7 kB / 0.5625 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3552, allocations: 69.62 kB / 0.5625 GB, free: 1.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3552, allocations: 0 / 0.5625 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002164/0.3554, allocations: 117.5 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3554, allocations: 4 kB / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3554, allocations: 384 / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3555, allocations: 0 / 0.5626 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.3555, allocations: 16 kB / 0.5627 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3556, allocations: 4 kB / 0.5627 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.3556, allocations: 11.92 kB / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3556, allocations: 4.031 kB / 0.5627 GB, free: 1.523 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.0001219/0.3557, allocations: 133.8 kB / 0.5628 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3558, allocations: 15.91 kB / 0.5628 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.356, allocations: 131.1 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.356, allocations: 0 / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.356, allocations: 0 / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3561, allocations: 3.938 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3565, allocations: 382.4 kB / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3565, allocations: 0 / 0.5633 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3566, allocations: 15.97 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3566, allocations: 3.938 kB / 0.5633 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3566, allocations: 7.984 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3566, allocations: 0 / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3566, allocations: 288 / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3569, allocations: 220.2 kB / 0.5635 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.3569, allocations: 15.91 kB / 0.5636 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3569, allocations: 3.938 kB / 0.5636 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.357, allocations: 15.92 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3571, allocations: 3.984 kB / 0.5636 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.3571, allocations: 8 kB / 0.5636 GB, free: 496 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.3573, allocations: 204.6 kB / 0.5638 GB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3573, allocations: 0 / 0.5638 GB, free: 292 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3576, allocations: 35.88 kB / 0.5638 GB, free: 256 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.002351/0.3599, allocations: 1.13 MB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3601, allocations: 59.91 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3601, allocations: 0 / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.3602, allocations: 35.92 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.000369/0.3606, allocations: 40.47 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.002272/0.3628, allocations: 1.839 MB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.363, allocations: 113.2 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.349e-05/0.363, allocations: 20.95 kB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.3631, allocations: 43.42 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3631, allocations: 0 / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3934, allocations: 4.469 MB / 0.5714 GB, free: 8.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.62, allocations: 5.781 kB / 0.5714 GB, free: 8.656 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_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_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.903905622661114]