Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001707/0.001707, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001423/0.001423, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2423/0.2423, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",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.002019/0.002019, allocations: 67.89 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4233, allocations: 65.47 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00432/0.4276, allocations: 2.304 MB / 0.5594 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.4303, allocations: 1.337 MB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.4304, allocations: 15.88 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.4309, allocations: 135.3 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.4315, allocations: 262.8 kB / 0.5611 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.432, allocations: 191.5 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.4326, allocations: 470.6 kB / 0.5617 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4328, allocations: 51.06 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.4333, allocations: 350.9 kB / 0.5621 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.4335, allocations: 171.1 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.4336, allocations: 16 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.4337, allocations: 79.95 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.4339, allocations: 159.3 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.4341, allocations: 198.3 kB / 0.5627 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.4348, allocations: 489.4 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4348, allocations: 0 / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4348, allocations: 0 / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4348, allocations: 4 kB / 0.5631 GB, free: 1.527 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00135/0.4361, allocations: 0.8379 MB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4362, allocations: 8.031 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.4362, allocations: 46.73 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4364, allocations: 72.47 kB / 0.5641 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.437, allocations: 381.6 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.437, allocations: 16.38 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.4371, allocations: 19.89 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.4375, allocations: 201.4 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4375, allocations: 8 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4376, allocations: 0 / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4376, allocations: 4 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.4378, allocations: 99.86 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009925/0.4388, allocations: 0.7889 MB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.4394, allocations: 238.5 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.4396, allocations: 91.45 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.4397, allocations: 8.219 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.4401, allocations: 196.2 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.4401, allocations: 4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002616/0.4427, allocations: 1.187 MB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.4428, allocations: 152.4 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4439, allocations: 0.9613 MB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.444, allocations: 37.7 kB / 0.5683 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4442, allocations: 265 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.4443, allocations: 146.8 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4445, allocations: 78.09 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4446, allocations: 326 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.4449, allocations: 112.8 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.4452, allocations: 183.2 kB / 0.5694 GB, free: 10.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.4457, allocations: 326.6 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4457, allocations: 4 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007823/0.4465, allocations: 444.8 kB / 0.5701 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4465, allocations: 4.125 kB / 0.5701 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4465, allocations: 8 kB / 0.5701 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4466, allocations: 4 kB / 0.5702 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.4468, allocations: 87.89 kB / 0.5702 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4468, allocations: 11.88 kB / 0.5702 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.447, allocations: 16 kB / 0.5703 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.447, allocations: 19.98 kB / 0.5703 GB, free: 9.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003209/0.4474, allocations: 256.1 kB / 0.5705 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4475, allocations: 83.48 kB / 0.5706 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.4484, allocations: 0.5077 MB / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4484, allocations: 4 kB / 0.5711 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4485, allocations: 3.938 kB / 0.5711 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.4485, allocations: 0 / 0.5711 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.4503, allocations: 1.306 MB / 0.5724 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.4503, allocations: 4 kB / 0.5724 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4505, allocations: 64.09 kB / 0.5724 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4505, allocations: 8 kB / 0.5725 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.4505, allocations: 15.98 kB / 0.5725 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.4505, allocations: 4 kB / 0.5725 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.4505, allocations: 7.938 kB / 0.5725 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.4515, allocations: 0.8005 MB / 0.5733 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.4517, allocations: 111.4 kB / 0.5734 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.4518, allocations: 16 kB / 0.5734 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.4521, allocations: 15.98 kB / 0.5734 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.4522, allocations: 47.81 kB / 0.5734 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.4522, allocations: 19.98 kB / 0.5735 GB, free: 6.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008252/0.453, allocations: 0.7059 MB / 0.5742 GB, free: 5.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.453, allocations: 4 kB / 0.5742 GB, free: 5.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.4536, allocations: 91.92 kB / 0.5742 GB, free: 5.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003303/0.4569, allocations: 1.777 MB / 0.576 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007193/0.4576, allocations: 295.8 kB / 0.5763 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4576, allocations: 0 / 0.5763 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.4579, allocations: 144.4 kB / 0.5764 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009637/0.4589, allocations: 134.8 kB / 0.5765 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/0.4663, allocations: 5.123 MB / 0.5815 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.4671, allocations: 0.9172 MB / 0.5824 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.4674, allocations: 87.27 kB / 0.5825 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.4677, allocations: 211.3 kB / 0.5827 GB, free: 12.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4677, allocations: 3.938 kB / 0.5827 GB, free: 12.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.5116, allocations: 11.91 MB / 0.5943 GB, free: 1.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.37, allocations: 11.31 kB / 0.5944 GB, free: 1.129 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.584437996149063]