Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001319/0.001319, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001419/0.001419, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2515/0.2515, allocations: 46.96 MB / 361.7 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4082, allocations: 66.03 MB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003477/0.4117, allocations: 1.71 MB / 0.5631 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.4135, allocations: 0.9676 MB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.4136, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.414, allocations: 47.7 kB / 0.5641 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.4143, allocations: 95.55 kB / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.4145, allocations: 75.73 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4147, allocations: 99.69 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4148, allocations: 13.83 kB / 0.5643 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.4149, allocations: 47.77 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.415, allocations: 31.8 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.415, allocations: 4 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.4151, allocations: 43.97 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.4152, allocations: 23.86 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.4152, allocations: 27.8 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.4155, allocations: 119.5 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4155, allocations: 0 / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4155, allocations: 0 / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4155, allocations: 0 / 0.5646 GB, free: 0.9336 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.0006004/0.4161, allocations: 337.6 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4161, allocations: 8.031 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.4162, allocations: 4.188 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.4162, allocations: 34.73 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.4162, allocations: 12.88 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4165, allocations: 150.3 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4165, allocations: 4.125 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4165, allocations: 4 kB / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.4167, allocations: 53.67 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4167, allocations: 4 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4167, allocations: 0 / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4167, allocations: 0 / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.4168, allocations: 23.98 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.4172, allocations: 267.8 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4174, allocations: 54.67 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.4175, allocations: 20.84 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.4175, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.4177, allocations: 71.33 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4177, allocations: 7.938 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005929/0.4183, allocations: 181.4 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4183, allocations: 55.41 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.4185, allocations: 186 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4185, allocations: 29.7 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.4186, allocations: 96.14 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.4186, allocations: 27.78 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.4187, allocations: 21.72 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4188, allocations: 322.8 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.4189, allocations: 23.98 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.419, allocations: 37.7 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.4191, allocations: 61.7 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4191, allocations: 3.938 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.4193, allocations: 105.6 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4193, allocations: 4 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4193, allocations: 0 / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4193, allocations: 0 / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.4194, allocations: 19.94 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4194, allocations: 11.95 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.4195, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4195, allocations: 4 kB / 0.5668 GB, free: 14.52 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.0001106/0.4196, allocations: 121.8 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.4196, allocations: 7.953 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.4199, allocations: 126.2 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4199, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4199, allocations: 4.219 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4199, allocations: 0 / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.4204, allocations: 366.6 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4204, allocations: 3.938 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.4204, allocations: 8 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4204, allocations: 7.938 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4204, allocations: 4 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4204, allocations: 80 / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4204, allocations: 7.984 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.4207, allocations: 208.3 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.4207, allocations: 19.78 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4207, allocations: 8 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.4208, allocations: 4.406 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4209, allocations: 15.91 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4209, allocations: 8 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.421, allocations: 136.1 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.4213, allocations: 23.94 kB / 0.5678 GB, free: 13.37 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.002292/0.4235, allocations: 1.136 MB / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4237, allocations: 67.89 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4237, allocations: 0 / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.4238, allocations: 20 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4242, allocations: 34.16 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.426, allocations: 1.618 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.4261, allocations: 93.25 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.4262, allocations: 21.2 kB / 0.5707 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.4262, allocations: 35.42 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4262, allocations: 4 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.4499, allocations: 3.69 MB / 0.5744 GB, free: 6.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 6.875 kB / 0.5744 GB, free: 6.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.917028110008687]