Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001461/0.001461, 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.001803/0.001803, allocations: 213.1 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2318/0.2318, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.00317/0.00317, allocations: 67.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3653, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003557/0.3689, allocations: 1.672 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3701, allocations: 0.5621 MB / 0.5592 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.3702, allocations: 3.938 kB / 0.5592 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.3705, allocations: 91.73 kB / 0.5593 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.3708, allocations: 115.6 kB / 0.5594 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.3711, allocations: 95.69 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3713, allocations: 103.7 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3714, allocations: 21.81 kB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.3715, allocations: 39.83 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3716, allocations: 63.81 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3716, allocations: 4 kB / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3718, allocations: 55.97 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.3718, allocations: 31.8 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.3719, allocations: 35.69 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3721, allocations: 131.4 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.3721, allocations: 0 / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.3721, allocations: 0 / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3721, allocations: 3.938 kB / 0.56 GB, free: 4.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005273/0.3726, allocations: 363.7 kB / 0.5603 GB, free: 4.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3727, allocations: 12.03 kB / 0.5603 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.3727, allocations: 38.73 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3728, allocations: 20.84 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.373, allocations: 150.7 kB / 0.5605 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.373, allocations: 8.375 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.373, allocations: 4.375 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3732, allocations: 69.61 kB / 0.5606 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3732, allocations: 3.953 kB / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3732, allocations: 0 / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3732, allocations: 0 / 0.5606 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3733, allocations: 55.81 kB / 0.5607 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.3738, allocations: 303.8 kB / 0.561 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3739, allocations: 58.56 kB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.374, allocations: 28.78 kB / 0.5611 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.374, allocations: 0 / 0.5611 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.374, allocations: 34.67 kB / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.374, allocations: 3.938 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001101/0.3751, allocations: 309.2 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3752, allocations: 55.41 kB / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3755, allocations: 239.5 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3755, allocations: 29.7 kB / 0.5617 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.3756, allocations: 112 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.3756, allocations: 47.64 kB / 0.5619 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3757, allocations: 25.7 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3759, allocations: 326.8 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.376, allocations: 31.98 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.3761, allocations: 47.91 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3763, allocations: 88.58 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3763, allocations: 0 / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.3765, allocations: 137.6 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3766, allocations: 4 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3766, allocations: 4 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.3766, allocations: 3.938 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3767, allocations: 35.92 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3767, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.3768, allocations: 11.98 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3768, allocations: 4 kB / 0.5625 GB, free: 1.938 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001275/0.3769, allocations: 133.8 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.377, allocations: 15.91 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.3774, allocations: 171.7 kB / 0.5628 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3774, allocations: 3.938 kB / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3774, allocations: 0 / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3774, allocations: 0 / 0.5629 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.378, allocations: 458.1 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3781, allocations: 0 / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3782, allocations: 27.98 kB / 0.5633 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3782, allocations: 8.031 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3782, allocations: 0 / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3782, allocations: 0 / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3782, allocations: 7.938 kB / 0.5633 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3785, allocations: 236.2 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.3785, allocations: 15.89 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3786, allocations: 12 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3786, allocations: 4 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3787, allocations: 7.984 kB / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3787, allocations: 4 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3789, allocations: 181.2 kB / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3789, allocations: 0 / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3791, allocations: 27.98 kB / 0.5638 GB, free: 0.5625 MB / 398.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 (13): * Single equations (assignments): 13 * 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.002431/0.3816, allocations: 1.13 MB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3818, allocations: 99.88 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3818, allocations: 0 / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.382, allocations: 51.86 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3824, allocations: 28.55 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3847, allocations: 1.845 MB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3852, allocations: 0.7236 MB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.3852, allocations: 16.48 kB / 0.5676 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.3853, allocations: 51.41 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3853, allocations: 0 / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.4167, allocations: 3.71 MB / 0.5713 GB, free: 9.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 18.31 kB / 0.5713 GB, free: 9.004 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.74140999512747]