Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001394/0.001394, 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.001696/0.001696, 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2372/0.2372, allocations: 46.92 MB / 360.9 MB, free: 4.266 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.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.89 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3557, allocations: 66.02 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004932/0.3606, allocations: 1.85 MB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.3635, allocations: 1.12 MB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3636, allocations: 3.938 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.3643, allocations: 303.3 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.3651, allocations: 247.2 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.3655, allocations: 107.6 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.366, allocations: 271.2 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.3661, allocations: 5.812 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.3665, allocations: 139.5 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.367, allocations: 211.9 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.367, allocations: 8 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3672, allocations: 51.97 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.3674, allocations: 132.5 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.3676, allocations: 150.8 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.3683, allocations: 372.1 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3683, allocations: 0 / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3683, allocations: 0 / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3683, allocations: 0 / 0.5655 GB, free: 15.51 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.001403/0.3697, allocations: 0.6846 MB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3698, allocations: 11.97 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.3698, allocations: 34.75 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3699, allocations: 52.61 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3709, allocations: 390.6 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3709, allocations: 384 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.3709, allocations: 11.94 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.3712, allocations: 87.36 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3712, allocations: 0 / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3712, allocations: 7.938 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3712, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3714, allocations: 23.98 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.372, allocations: 345.5 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.3724, allocations: 113.1 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3725, allocations: 33.7 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3726, allocations: 3.938 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.3729, allocations: 117 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3729, allocations: 0 / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007045/0.3736, allocations: 205.6 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3737, allocations: 77.11 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.3755, allocations: 1.022 MB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3755, allocations: 37.7 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.3758, allocations: 232.1 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.3759, allocations: 23.84 kB / 0.5689 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.3759, allocations: 29.72 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.3762, allocations: 366.8 kB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3763, allocations: 27.98 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3765, allocations: 63.3 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.3768, allocations: 95.41 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3768, allocations: 3.938 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004831/0.3772, allocations: 169.2 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3773, allocations: 8 kB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3773, allocations: 8 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3773, allocations: 0 / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3774, allocations: 23.98 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3774, allocations: 0 / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3775, allocations: 19.88 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3775, allocations: 4 kB / 0.5697 GB, free: 10.98 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.0002283/0.3778, allocations: 229.6 kB / 0.5699 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.3778, allocations: 51.66 kB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3782, allocations: 193.8 kB / 0.5701 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3782, allocations: 4.25 kB / 0.5701 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3782, allocations: 3.984 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3782, allocations: 4 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3786, allocations: 316.5 kB / 0.5705 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3786, allocations: 4 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.3786, allocations: 12 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3786, allocations: 0 / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3786, allocations: 4 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3786, allocations: 0 / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3786, allocations: 7.984 kB / 0.5705 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.3792, allocations: 221.3 kB / 0.5707 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.3794, allocations: 67.59 kB / 0.5708 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.3794, allocations: 4 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3796, allocations: 7.984 kB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3796, allocations: 11.98 kB / 0.5708 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3797, allocations: 4 kB / 0.5708 GB, free: 9.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.3808, allocations: 0.7643 MB / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3808, allocations: 0 / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3811, allocations: 47.98 kB / 0.5716 GB, free: 8.961 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.002206/0.3833, allocations: 1.059 MB / 0.5726 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3835, allocations: 83.83 kB / 0.5727 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3836, allocations: 0 / 0.5727 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3837, allocations: 39.92 kB / 0.5727 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3841, allocations: 71.52 kB / 0.5728 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.3901, allocations: 4.477 MB / 0.5772 GB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.3907, allocations: 0.8426 MB / 0.578 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3908, allocations: 71.42 kB / 0.5781 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.391, allocations: 147.4 kB / 0.5782 GB, free: 2.176 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.391, allocations: 7.875 kB / 0.5782 GB, free: 2.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.4285, allocations: 9.205 MB / 0.5872 GB, free: 9.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 7.031 kB / 0.5872 GB, free: 9.043 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.883262545103207]