Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001805/0.001805, 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.00157/0.00157, allocations: 212.2 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 71.89 kB / 0.4962 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4728, allocations: 66.03 MB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00466/0.4775, allocations: 1.678 MB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.4798, allocations: 0.9481 MB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.4798, allocations: 0 / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.4802, allocations: 63.72 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.4806, allocations: 111.6 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.4809, allocations: 71.69 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.4811, allocations: 107.7 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.4812, allocations: 8.219 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4813, allocations: 47.78 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4814, allocations: 43.83 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.4814, allocations: 4 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4815, allocations: 39.91 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.4816, allocations: 23.86 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.4817, allocations: 15.88 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.4819, allocations: 117.4 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4819, allocations: 0 / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4819, allocations: 0 / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.4819, allocations: 0 / 0.5638 GB, free: 0.8086 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006109/0.4826, allocations: 341.6 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.553e-05/0.4826, allocations: 12.03 kB / 0.5642 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.4827, allocations: 34.69 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.4827, allocations: 12.84 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4831, allocations: 151 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4831, allocations: 384 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4831, allocations: 11.94 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4833, allocations: 45.67 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.4833, allocations: 0 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4833, allocations: 0 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4833, allocations: 4 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.4834, allocations: 15.98 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.4836, allocations: 152.7 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4839, allocations: 66.42 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.247e-05/0.4839, allocations: 20.84 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.4839, allocations: 4 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.4841, allocations: 59.39 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.4841, allocations: 4 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003544/0.4845, allocations: 101.6 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4845, allocations: 55.39 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4848, allocations: 198.3 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4848, allocations: 25.7 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.4849, allocations: 96.14 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.4849, allocations: 23.83 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.485, allocations: 21.72 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4852, allocations: 322.8 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.4852, allocations: 15.98 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.4853, allocations: 33.95 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4854, allocations: 49.66 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.4855, allocations: 3.938 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002201/0.4857, allocations: 89.52 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4857, allocations: 4 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4857, allocations: 3.938 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4857, allocations: 8.031 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.4858, allocations: 11.98 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.4858, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.4859, allocations: 4 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4859, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001356/0.486, allocations: 132.4 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.486, allocations: 15.94 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.4863, allocations: 94.7 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4863, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4863, allocations: 4 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4863, allocations: 0 / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4865, allocations: 160.6 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4865, allocations: 0 / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.4866, allocations: 8 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4866, allocations: 0 / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4866, allocations: 4 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4866, allocations: 0 / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4866, allocations: 0 / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.4868, allocations: 121.2 kB / 0.5663 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.4869, allocations: 15.89 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4869, allocations: 7.938 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.4869, allocations: 0 / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.487, allocations: 15.92 kB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.487, allocations: 4 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.4872, allocations: 148.2 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4872, allocations: 0 / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.4875, allocations: 19.94 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002493/0.49, allocations: 0.9865 MB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4902, allocations: 51.91 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4902, allocations: 0 / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.43e-05/0.4903, allocations: 19.94 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4907, allocations: 26.97 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.493, allocations: 1.526 MB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4931, allocations: 89.31 kB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.4931, allocations: 20.47 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.4932, allocations: 31.44 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4932, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.5288, allocations: 3.831 MB / 0.5729 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.98, allocations: 10.56 kB / 0.5729 GB, free: 7.344 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.211772141046822]