Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.93 MB / 360.8 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 79.88 kB / 0.4963 GB, free: 8.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3481, allocations: 66.08 MB / 0.5608 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002702/0.3508, allocations: 1.837 MB / 0.5626 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3523, allocations: 1.123 MB / 0.5637 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.3524, allocations: 7.594 kB / 0.5637 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.3528, allocations: 298.9 kB / 0.564 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.3533, allocations: 254.2 kB / 0.5642 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3535, allocations: 105.7 kB / 0.5643 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.3537, allocations: 267.4 kB / 0.5646 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.3538, allocations: 8.781 kB / 0.5646 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.354, allocations: 136.1 kB / 0.5647 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3542, allocations: 217.9 kB / 0.5649 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3542, allocations: 6.375 kB / 0.5649 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.3543, allocations: 47.33 kB / 0.565 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3544, allocations: 135.2 kB / 0.5651 GB, free: 31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.3545, allocations: 148.5 kB / 0.5652 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3548, allocations: 379 kB / 0.5656 GB, free: 30.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3548, allocations: 0 / 0.5656 GB, free: 30.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3548, allocations: 0 / 0.5656 GB, free: 30.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3548, allocations: 0 / 0.5656 GB, free: 30.74 MB / 446.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.0007565/0.3555, allocations: 0.6715 MB / 0.5662 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3556, allocations: 12.62 kB / 0.5663 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.3556, allocations: 31.62 kB / 0.5663 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.3557, allocations: 54.11 kB / 0.5663 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.3562, allocations: 394.5 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3562, allocations: 3.969 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3562, allocations: 3.891 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3564, allocations: 96.8 kB / 0.5668 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3564, allocations: 3.984 kB / 0.5668 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3564, allocations: 0.6094 kB / 0.5668 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3564, allocations: 0 / 0.5668 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3565, allocations: 38.02 kB / 0.5669 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.3568, allocations: 343.7 kB / 0.5672 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3571, allocations: 102 kB / 0.5673 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.3571, allocations: 36.41 kB / 0.5673 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3572, allocations: 3.938 kB / 0.5673 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3573, allocations: 115.3 kB / 0.5674 GB, free: 29.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3573, allocations: 1.594 kB / 0.5674 GB, free: 29.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004024/0.3577, allocations: 202.8 kB / 0.5676 GB, free: 29.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3578, allocations: 78.48 kB / 0.5677 GB, free: 29.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.3585, allocations: 1.029 MB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3585, allocations: 27.23 kB / 0.5687 GB, free: 28.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3587, allocations: 239.2 kB / 0.569 GB, free: 28.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.3587, allocations: 28.28 kB / 0.569 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3587, allocations: 25.09 kB / 0.569 GB, free: 28.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.3588, allocations: 370.8 kB / 0.5694 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.3589, allocations: 27.41 kB / 0.5694 GB, free: 28.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.359, allocations: 60.09 kB / 0.5694 GB, free: 28.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3591, allocations: 101.2 kB / 0.5695 GB, free: 28.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3591, allocations: 0 / 0.5695 GB, free: 28.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002603/0.3594, allocations: 169.9 kB / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3594, allocations: 5.594 kB / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3594, allocations: 2.125 kB / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3594, allocations: 2.375 kB / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3595, allocations: 30.11 kB / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3596, allocations: 0 / 0.5697 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.3596, allocations: 18.23 kB / 0.5698 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3597, allocations: 3.406 kB / 0.5698 GB, free: 28.02 MB / 446.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.0001703/0.3598, allocations: 216.6 kB / 0.57 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.3599, allocations: 54.52 kB / 0.57 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.3603, allocations: 196.6 kB / 0.5702 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3603, allocations: 5.625 kB / 0.5702 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3603, allocations: 1.781 kB / 0.5702 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3603, allocations: 3.516 kB / 0.5702 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.3606, allocations: 316.3 kB / 0.5705 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3606, allocations: 4.438 kB / 0.5705 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.3606, allocations: 12.75 kB / 0.5705 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3606, allocations: 4.641 kB / 0.5705 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3606, allocations: 10.44 kB / 0.5706 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3606, allocations: 1.281 kB / 0.5706 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3606, allocations: 0.5938 kB / 0.5706 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3609, allocations: 211.1 kB / 0.5708 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.361, allocations: 68.77 kB / 0.5708 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.3611, allocations: 5.75 kB / 0.5708 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3612, allocations: 2.75 kB / 0.5708 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3612, allocations: 22.47 kB / 0.5709 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3612, allocations: 5.5 kB / 0.5709 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008078/0.362, allocations: 0.7631 MB / 0.5716 GB, free: 27.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.362, allocations: 0 / 0.5716 GB, free: 27.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.3623, allocations: 42.58 kB / 0.5716 GB, free: 27.08 MB / 446.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.001942/0.3643, allocations: 1.062 MB / 0.5727 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3646, allocations: 88 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3646, allocations: 0 / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3647, allocations: 35.19 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3651, allocations: 67.97 kB / 0.5729 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.3707, allocations: 4.483 MB / 0.5772 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.3711, allocations: 0.8398 MB / 0.5781 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.3713, allocations: 59.86 kB / 0.5781 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3715, allocations: 154 kB / 0.5783 GB, free: 23.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3715, allocations: 0 / 0.5783 GB, free: 23.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.4095, allocations: 9.22 MB / 0.5873 GB, free: 21.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 1.375 kB / 0.5873 GB, free: 21.94 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 15.336920230882242]