Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001238/0.001238, 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.001334/0.001334, 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2236/0.2236, allocations: 46.94 MB / 360.9 MB, free: 4.262 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.89 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 66.03 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003304/0.3568, allocations: 1.845 MB / 0.5625 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3587, allocations: 1.116 MB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.3588, allocations: 3.938 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.3593, allocations: 311.3 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.3598, allocations: 263.2 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.36, allocations: 103.7 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.3603, allocations: 271.2 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.3604, allocations: 9.75 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3606, allocations: 139.5 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3608, allocations: 219.4 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3609, allocations: 4 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.361, allocations: 51.97 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.3612, allocations: 139.6 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3614, allocations: 158.7 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.3618, allocations: 376 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3618, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3618, allocations: 4 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3618, allocations: 0 / 0.5656 GB, free: 15.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001058/0.3629, allocations: 0.6786 MB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3629, allocations: 11.97 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.363, allocations: 38.75 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.3631, allocations: 52.59 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.3638, allocations: 402.5 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3638, allocations: 4.375 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3638, allocations: 11.92 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.364, allocations: 83.38 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.364, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.364, allocations: 4 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.364, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3642, allocations: 39.91 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.3646, allocations: 349.4 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3649, allocations: 101.1 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.365, allocations: 45.69 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3651, allocations: 3.984 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3653, allocations: 109 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3653, allocations: 0 / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005027/0.3658, allocations: 201.3 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.3659, allocations: 85.05 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3671, allocations: 1.05 MB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3671, allocations: 29.7 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3673, allocations: 236.1 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.3674, allocations: 27.8 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.3674, allocations: 29.72 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3676, allocations: 374.8 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.3677, allocations: 35.92 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.3678, allocations: 51.42 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.368, allocations: 95.84 kB / 0.5696 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.368, allocations: 7.938 kB / 0.5696 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003065/0.3683, allocations: 165.2 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3683, allocations: 8 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3683, allocations: 0 / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3683, allocations: 7.922 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3684, allocations: 31.92 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3684, allocations: 3.984 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.3685, allocations: 11.92 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.3685, allocations: 8.062 kB / 0.5698 GB, free: 10.85 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002671/0.3688, allocations: 225.7 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.3689, allocations: 55.62 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3693, allocations: 193.8 kB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3693, allocations: 4 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3693, allocations: 0 / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3693, allocations: 0 / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.3696, allocations: 324.5 kB / 0.5706 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3696, allocations: 8.188 kB / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.3697, allocations: 15.98 kB / 0.5706 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3697, allocations: 4 kB / 0.5706 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3697, allocations: 4 kB / 0.5706 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3697, allocations: 4 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3697, allocations: 0 / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.37, allocations: 225.4 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3702, allocations: 63.61 kB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.3702, allocations: 3.984 kB / 0.5709 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3703, allocations: 7.938 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.3703, allocations: 11.98 kB / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3704, allocations: 4 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009451/0.3713, allocations: 0.7878 MB / 0.5717 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 0 / 0.5717 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3716, allocations: 43.98 kB / 0.5717 GB, free: 8.809 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002195/0.3738, allocations: 1.066 MB / 0.5727 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.374, allocations: 71.91 kB / 0.5728 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.374, allocations: 4.125 kB / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3742, allocations: 35.98 kB / 0.5728 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3746, allocations: 75.55 kB / 0.5729 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/0.3806, allocations: 4.574 MB / 0.5774 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.3812, allocations: 0.8468 MB / 0.5782 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3813, allocations: 58.94 kB / 0.5783 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3815, allocations: 155.4 kB / 0.5784 GB, free: 1.93 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3815, allocations: 3.938 kB / 0.5784 GB, free: 1.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.421, allocations: 9.375 MB / 0.5876 GB, free: 8.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 7.562 kB / 0.5876 GB, free: 8.625 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.91596052609384]