Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001785/0.001785, allocations: 115.8 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.002286/0.002286, allocations: 213.3 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.511/1.511, 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.2364/0.2364, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 75.83 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3595, allocations: 66.04 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003523/0.3631, allocations: 1.675 MB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3643, allocations: 0.5894 MB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.3644, allocations: 0 / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.3651, allocations: 463.1 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.3656, allocations: 295.3 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.3662, allocations: 167.1 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.3665, allocations: 183.6 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3666, allocations: 13.81 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3667, allocations: 111.7 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.367, allocations: 247.5 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.367, allocations: 4 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.3671, allocations: 35.98 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3673, allocations: 91.61 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.3674, allocations: 99 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.3677, allocations: 274.6 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3677, allocations: 0 / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3677, allocations: 4 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3677, allocations: 0 / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008648/0.3686, allocations: 0.5855 MB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3687, allocations: 8.031 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.3687, allocations: 38.73 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.3688, allocations: 40.66 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3691, allocations: 262.6 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.3691, allocations: 384 / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3691, allocations: 4.375 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3693, allocations: 61.61 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3693, allocations: 0 / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3693, allocations: 0 / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3693, allocations: 0 / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3694, allocations: 31.98 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.3701, allocations: 371.6 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3703, allocations: 50.55 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.3703, allocations: 12.86 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3703, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3704, allocations: 42.64 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3704, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006354/0.371, allocations: 248.7 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3711, allocations: 51.41 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.372, allocations: 0.8737 MB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.372, allocations: 33.58 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.3722, allocations: 228.1 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3722, allocations: 23.78 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3723, allocations: 17.72 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3725, allocations: 366.8 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.3726, allocations: 19.98 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.3726, allocations: 19.98 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3728, allocations: 53.02 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3728, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002418/0.373, allocations: 125.4 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.373, allocations: 14.81 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.373, allocations: 288 / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.373, allocations: 0 / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.3731, allocations: 15.92 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3731, allocations: 4 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.3732, allocations: 7.938 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3732, allocations: 0 / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002594/0.3735, allocations: 217.7 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.3735, allocations: 51.66 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3738, allocations: 141.2 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3738, allocations: 4 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3739, allocations: 0 / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3739, allocations: 3.938 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.3745, allocations: 445.5 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3745, allocations: 0 / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.3745, allocations: 12 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3745, allocations: 0 / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3745, allocations: 3.938 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3745, allocations: 7.984 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3745, allocations: 0 / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3748, allocations: 215.4 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.3749, allocations: 43.7 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3749, allocations: 12 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.375, allocations: 7.984 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.375, allocations: 4 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.375, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007056/0.3757, allocations: 0.6589 MB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3757, allocations: 0 / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.376, allocations: 31.89 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002058/0.3781, allocations: 1.058 MB / 0.5711 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3783, allocations: 55.95 kB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3783, allocations: 0 / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.3784, allocations: 27.98 kB / 0.5712 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3788, allocations: 35.86 kB / 0.5712 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.3829, allocations: 3.279 MB / 0.5744 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3834, allocations: 0.8298 MB / 0.5752 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.3835, allocations: 20.64 kB / 0.5752 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3836, allocations: 111.4 kB / 0.5753 GB, free: 5.129 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3836, allocations: 3.938 kB / 0.5753 GB, free: 5.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.4193, allocations: 6.289 MB / 0.5815 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.2, allocations: 3.984 kB / 0.5815 GB, free: 14.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.289285349892452]