Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001649/0.001649, 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.001617/0.001617, allocations: 214.4 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2344/0.2344, allocations: 46.94 MB / 360.9 MB, free: 4.246 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003074/0.003074, allocations: 67.89 kB / 0.4962 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3519, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003705/0.3556, allocations: 1.943 MB / 0.5626 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3579, allocations: 1.151 MB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.358, allocations: 7.938 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3585, allocations: 155.5 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.359, allocations: 183.2 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.3593, allocations: 115.7 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.3597, allocations: 251.2 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3599, allocations: 23.78 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3601, allocations: 119.5 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.3603, allocations: 147.5 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3604, allocations: 8 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.3605, allocations: 63.98 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.3606, allocations: 55.77 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.3607, allocations: 83.3 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.361, allocations: 223 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.361, allocations: 0 / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.361, allocations: 4 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3611, allocations: 3.984 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000769/0.3618, allocations: 476.5 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3619, allocations: 15.97 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.3619, allocations: 42.67 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.362, allocations: 32.73 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.3624, allocations: 222.5 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3624, allocations: 12.38 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3624, allocations: 7.938 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3627, allocations: 119.2 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3627, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3627, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3627, allocations: 4 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3629, allocations: 39.97 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.3635, allocations: 435.9 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.3638, allocations: 121.2 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3639, allocations: 45.75 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.364, allocations: 4 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.3642, allocations: 125 kB / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3642, allocations: 0 / 0.5668 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001381/0.3656, allocations: 0.4898 MB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3657, allocations: 81.11 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.3661, allocations: 372.5 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3662, allocations: 33.7 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3663, allocations: 144.5 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/0.3664, allocations: 83.36 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.3665, allocations: 45.64 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3666, allocations: 338.8 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3668, allocations: 55.97 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3669, allocations: 95.34 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.3673, allocations: 159.5 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3673, allocations: 4 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004461/0.3677, allocations: 237.2 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3677, allocations: 4 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3677, allocations: 0 / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3678, allocations: 4 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3679, allocations: 39.97 kB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3679, allocations: 7.938 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.368, allocations: 12 kB / 0.5689 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.368, allocations: 12 kB / 0.5689 GB, free: 11.8 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001904/0.3682, allocations: 162.4 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.3683, allocations: 31.75 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.3688, allocations: 255.3 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3688, allocations: 4 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3688, allocations: 0 / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3688, allocations: 0 / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3699, allocations: 0.7027 MB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3699, allocations: 0 / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.37, allocations: 31.92 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.37, allocations: 7.984 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.37, allocations: 8 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.37, allocations: 7.984 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.37, allocations: 3.938 kB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.3705, allocations: 419.3 kB / 0.5705 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.3705, allocations: 27.84 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3706, allocations: 4 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3707, allocations: 12 kB / 0.5705 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.3708, allocations: 23.91 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3708, allocations: 15.98 kB / 0.5705 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.3711, allocations: 275 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3711, allocations: 0 / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.3715, allocations: 47.94 kB / 0.5708 GB, free: 9.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002838/0.3743, allocations: 1.382 MB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.3747, allocations: 151.8 kB / 0.5723 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3747, allocations: 0 / 0.5723 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3749, allocations: 75.78 kB / 0.5724 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.3755, allocations: 63.06 kB / 0.5725 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3792, allocations: 2.715 MB / 0.5751 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3796, allocations: 0.7636 MB / 0.5759 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3798, allocations: 41.91 kB / 0.5759 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3799, allocations: 87.41 kB / 0.576 GB, free: 4.441 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3799, allocations: 0 / 0.576 GB, free: 4.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.4135, allocations: 6.347 MB / 0.5822 GB, free: 14.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.45, allocations: 2.344 kB / 0.5822 GB, free: 14.17 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.555256898980588]