Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001329/0.001329, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001388/0.001388, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.594/1.594, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2483/0.2483, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.002021/0.002021, allocations: 71.89 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4385, allocations: 65.46 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004056/0.4425, allocations: 1.999 MB / 0.559 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.4453, allocations: 1.213 MB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.4454, allocations: 7.938 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007657/0.4462, allocations: 203.3 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.4467, allocations: 211.2 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.4472, allocations: 159.6 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.4476, allocations: 267.2 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4477, allocations: 20.58 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.4479, allocations: 115.5 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.4481, allocations: 119.5 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.4481, allocations: 16 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.4483, allocations: 67.89 kB / 0.5613 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.4484, allocations: 55.83 kB / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.4485, allocations: 83.41 kB / 0.5615 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.449, allocations: 244.7 kB / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.449, allocations: 0 / 0.5617 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.449, allocations: 4 kB / 0.5617 GB, free: 2.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.449, allocations: 0 / 0.5617 GB, free: 2.957 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000981/0.45, allocations: 0.4906 MB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.45, allocations: 12.03 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.4501, allocations: 38.73 kB / 0.5622 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.4502, allocations: 24.8 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.4506, allocations: 238.5 kB / 0.5625 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4506, allocations: 4.375 kB / 0.5625 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4506, allocations: 7.938 kB / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.4509, allocations: 104.2 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4509, allocations: 7.938 kB / 0.5626 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4509, allocations: 7.984 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4509, allocations: 0 / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.451, allocations: 39.97 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.4516, allocations: 348.7 kB / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.4519, allocations: 117.2 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.452, allocations: 37.7 kB / 0.5631 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.452, allocations: 0 / 0.5631 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.4523, allocations: 121.1 kB / 0.5633 GB, free: 1.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.4523, allocations: 4 kB / 0.5633 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004787/0.4528, allocations: 173.4 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.4529, allocations: 110.8 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.4533, allocations: 356.5 kB / 0.5639 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4533, allocations: 25.7 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4534, allocations: 152 kB / 0.564 GB, free: 364 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4535, allocations: 31.73 kB / 0.5641 GB, free: 332 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.4535, allocations: 29.72 kB / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4537, allocations: 342.8 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.133e-05/0.4538, allocations: 27.98 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4539, allocations: 81.12 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.4541, allocations: 103.8 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4541, allocations: 0 / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003117/0.4544, allocations: 145.4 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4545, allocations: 14.69 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4545, allocations: 0 / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4545, allocations: 4 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4546, allocations: 19.98 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.4546, allocations: 4 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.4547, allocations: 23.81 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4547, allocations: 4 kB / 0.5648 GB, free: 15.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001696/0.4549, allocations: 153.7 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.4549, allocations: 31.81 kB / 0.565 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.4553, allocations: 163.4 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4553, allocations: 0 / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4553, allocations: 0 / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4553, allocations: 7.938 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.4556, allocations: 228.9 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4556, allocations: 4 kB / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.4556, allocations: 4 kB / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4556, allocations: 4 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4556, allocations: 3.984 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4556, allocations: 4 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4556, allocations: 4 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.456, allocations: 189.6 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.456, allocations: 23.8 kB / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.456, allocations: 3.984 kB / 0.5656 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4561, allocations: 8 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.4562, allocations: 15.92 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4562, allocations: 15.98 kB / 0.5657 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.4565, allocations: 251.1 kB / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4565, allocations: 0 / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.4567, allocations: 39.98 kB / 0.5659 GB, free: 14.27 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002151/0.4589, allocations: 1.043 MB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.4592, allocations: 83.89 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4592, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4593, allocations: 43.92 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.4597, allocations: 77.59 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.4629, allocations: 2.34 MB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4633, allocations: 0.7517 MB / 0.5702 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.4634, allocations: 41.92 kB / 0.5702 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4636, allocations: 75.34 kB / 0.5703 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4636, allocations: 3.938 kB / 0.5703 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4985, allocations: 5.979 MB / 0.5761 GB, free: 3.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.42, allocations: 12.06 kB / 0.5761 GB, free: 3.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.770877873001155]