Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001792/0.001792, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002406/0.002406, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 44.94 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 63.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.359, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003374/0.3624, allocations: 1.668 MB / 0.5586 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3635, allocations: 0.5387 MB / 0.5591 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.3636, allocations: 0 / 0.5591 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3642, allocations: 455.1 kB / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.3647, allocations: 299.3 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.365, allocations: 135 kB / 0.56 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3652, allocations: 163.7 kB / 0.5601 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3653, allocations: 13.81 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3655, allocations: 119.7 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3658, allocations: 247.5 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3658, allocations: 4 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3659, allocations: 51.92 kB / 0.5606 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.366, allocations: 87.69 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.3661, allocations: 75.22 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.3665, allocations: 286.4 kB / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3665, allocations: 0 / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3665, allocations: 7.938 kB / 0.561 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3665, allocations: 0 / 0.561 GB, free: 3.402 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007906/0.3673, allocations: 0.5931 MB / 0.5616 GB, free: 2.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3673, allocations: 12.03 kB / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.3673, allocations: 34.73 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.3674, allocations: 44.66 kB / 0.5617 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3677, allocations: 250.8 kB / 0.5619 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.3677, allocations: 384 / 0.5619 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3677, allocations: 4.375 kB / 0.5619 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3679, allocations: 65.55 kB / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3679, allocations: 4 kB / 0.562 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3679, allocations: 4 kB / 0.562 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3679, allocations: 0 / 0.562 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.368, allocations: 23.98 kB / 0.562 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.3685, allocations: 367.7 kB / 0.5624 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3687, allocations: 42.56 kB / 0.5624 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3687, allocations: 16.94 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3687, allocations: 0 / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3688, allocations: 42.53 kB / 0.5625 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3688, allocations: 4 kB / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009534/0.3697, allocations: 316.9 kB / 0.5628 GB, free: 1.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3698, allocations: 55.34 kB / 0.5628 GB, free: 1.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.3707, allocations: 0.8738 MB / 0.5637 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3707, allocations: 29.7 kB / 0.5637 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.3709, allocations: 220.1 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.371, allocations: 31.73 kB / 0.5639 GB, free: 228 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.371, allocations: 21.72 kB / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.3712, allocations: 362.8 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3713, allocations: 27.98 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.3714, allocations: 27.98 kB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3716, allocations: 60.83 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3716, allocations: 4 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002556/0.3718, allocations: 133.3 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3718, allocations: 10.33 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3718, allocations: 0 / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3719, allocations: 4 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.372, allocations: 19.88 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.372, allocations: 3.984 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.372, allocations: 4 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.372, allocations: 4 kB / 0.5646 GB, free: 15.53 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 (8): * Single equations (assignments): 8 * 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.0002118/0.3723, allocations: 217.8 kB / 0.5648 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.3723, allocations: 51.66 kB / 0.5648 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.3727, allocations: 169.8 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3727, allocations: 3.938 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3727, allocations: 0 / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3727, allocations: 0 / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.3734, allocations: 478.3 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3734, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.3734, allocations: 19.98 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3735, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3735, allocations: 4 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3735, allocations: 3.938 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3735, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.3738, allocations: 247.9 kB / 0.5657 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.3738, allocations: 43.73 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3739, allocations: 0 / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.374, allocations: 8 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.374, allocations: 7.984 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.374, allocations: 4 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007279/0.3747, allocations: 0.6589 MB / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3747, allocations: 0 / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.375, allocations: 27.94 kB / 0.5665 GB, free: 13.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00244/0.3775, allocations: 1.172 MB / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.3777, allocations: 67.88 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3777, allocations: 0 / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.3778, allocations: 35.98 kB / 0.5677 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3783, allocations: 32.11 kB / 0.5677 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.3824, allocations: 3.333 MB / 0.571 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3827, allocations: 228.1 kB / 0.5712 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.3827, allocations: 12.42 kB / 0.5712 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3829, allocations: 107.4 kB / 0.5713 GB, free: 8.617 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3829, allocations: 0 / 0.5713 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.4193, allocations: 6.914 MB / 0.5781 GB, free: 1.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 3.344 kB / 0.5781 GB, free: 1.746 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.980314323212951]