Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.00181/0.00181, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002425/0.002425, allocations: 213.8 kB / 23.73 MB, free: 4.41 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2453/0.2453, allocations: 46.96 MB / 360.9 MB, free: 4.164 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.Test53,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 71.91 kB / 0.4962 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.358, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003451/0.3614, allocations: 1.724 MB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3634, allocations: 0.9676 MB / 0.5633 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.3635, allocations: 4 kB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.3638, allocations: 51.75 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.3642, allocations: 99.55 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3645, allocations: 79.66 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.3647, allocations: 107.6 kB / 0.5636 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3648, allocations: 9.828 kB / 0.5636 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.3649, allocations: 43.78 kB / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.365, allocations: 39.78 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.365, allocations: 4 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3651, allocations: 43.97 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.3652, allocations: 19.92 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.3652, allocations: 31.75 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3655, allocations: 131.4 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3655, allocations: 0 / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3655, allocations: 4 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3655, allocations: 0 / 0.5639 GB, free: 0.8711 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.000691/0.3662, allocations: 369.3 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3662, allocations: 12.03 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.3663, allocations: 34.73 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3663, allocations: 8.891 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3666, allocations: 159.1 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3666, allocations: 384 / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3666, allocations: 7.938 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3668, allocations: 57.61 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3668, allocations: 0 / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3668, allocations: 0 / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3668, allocations: 4 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.3669, allocations: 23.98 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3673, allocations: 267.9 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3675, allocations: 62.61 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.3676, allocations: 16.86 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3676, allocations: 0 / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3677, allocations: 75.36 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3677, allocations: 0 / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005986/0.3683, allocations: 193.5 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3684, allocations: 51.41 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.3686, allocations: 246.9 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3687, allocations: 25.7 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.3687, allocations: 116.1 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3688, allocations: 23.84 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3688, allocations: 21.72 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.369, allocations: 326.8 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.3691, allocations: 19.98 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.3691, allocations: 53.52 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3693, allocations: 61.7 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3693, allocations: 0 / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.3695, allocations: 113.5 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3695, allocations: 4 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3695, allocations: 0 / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3695, allocations: 4 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.3696, allocations: 12 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3696, allocations: 160 / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.3697, allocations: 19.89 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3697, allocations: 4 kB / 0.5662 GB, free: 14.31 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 (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.0001179/0.3698, allocations: 125.8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3698, allocations: 19.89 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.3701, allocations: 131 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3701, allocations: 0 / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3701, allocations: 0 / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3701, allocations: 3.938 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3706, allocations: 374.4 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3706, allocations: 4.031 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3706, allocations: 11.98 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3706, allocations: 3.938 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3706, allocations: 4 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3706, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3706, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3709, allocations: 212.2 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.3709, allocations: 20.27 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.371, allocations: 7.938 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.371, allocations: 0 / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3711, allocations: 11.98 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3711, allocations: 11.94 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3713, allocations: 175.2 kB / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 0 / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3715, allocations: 20 kB / 0.5673 GB, free: 13.11 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: 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.002319/0.3738, allocations: 1.151 MB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.374, allocations: 51.97 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.374, allocations: 0 / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3741, allocations: 35.92 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3745, allocations: 32.11 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3765, allocations: 1.759 MB / 0.5702 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3766, allocations: 108.6 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.3767, allocations: 12.98 kB / 0.5704 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.3768, allocations: 43.41 kB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3768, allocations: 0 / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.407, allocations: 4.301 MB / 0.5746 GB, free: 5.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.54, allocations: 17.59 kB / 0.5746 GB, free: 5.754 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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: 14.642290013842285]