Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001667/0.001667, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002199/0.002199, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.52/1.52, 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.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.221/0.221, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="cs",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.001979/0.001979, allocations: 67.88 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 65.47 MB / 0.5577 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004619/0.3639, allocations: 1.668 MB / 0.5594 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3653, allocations: 0.566 MB / 0.5599 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.3654, allocations: 4 kB / 0.5599 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008538/0.3662, allocations: 455.1 kB / 0.5604 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.3669, allocations: 299.3 kB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.3675, allocations: 171.3 kB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3679, allocations: 195.5 kB / 0.561 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.368, allocations: 14.06 kB / 0.561 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3682, allocations: 123.7 kB / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.3686, allocations: 243.5 kB / 0.5614 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.3686, allocations: 4 kB / 0.5614 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3688, allocations: 55.91 kB / 0.5614 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.3689, allocations: 91.67 kB / 0.5615 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.369, allocations: 75.19 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.3694, allocations: 302.4 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3694, allocations: 0 / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3694, allocations: 0 / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3694, allocations: 0 / 0.5619 GB, free: 3.207 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.0008574/0.3703, allocations: 0.6072 MB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3703, allocations: 11.97 kB / 0.5625 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.3704, allocations: 4.188 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.3704, allocations: 34.75 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.3705, allocations: 44.66 kB / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.3708, allocations: 246.8 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3708, allocations: 4.375 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3708, allocations: 16.06 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.371, allocations: 65.61 kB / 0.5629 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.371, allocations: 4 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.371, allocations: 0 / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.371, allocations: 7.938 kB / 0.5629 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.3712, allocations: 43.95 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3718, allocations: 379.8 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3721, allocations: 70.47 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.3722, allocations: 24.97 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3722, allocations: 0 / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3722, allocations: 30.56 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3722, allocations: 0 / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001635/0.3739, allocations: 0.5083 MB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3739, allocations: 55.41 kB / 0.564 GB, free: 0.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.3749, allocations: 0.8737 MB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3749, allocations: 25.7 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3752, allocations: 220.1 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.3752, allocations: 35.69 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.3753, allocations: 21.72 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3755, allocations: 366.8 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3756, allocations: 55.95 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3758, allocations: 55.91 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.376, allocations: 124.8 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3761, allocations: 0 / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000409/0.3765, allocations: 209.2 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3765, allocations: 7.938 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3765, allocations: 3.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3765, allocations: 3.938 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3766, allocations: 27.97 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3766, allocations: 7.938 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.3767, allocations: 7.984 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3767, allocations: 4 kB / 0.5659 GB, free: 14.84 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 (11): * Single equations (assignments): 11 * 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.0002276/0.377, allocations: 217.8 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.377, allocations: 51.66 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3775, allocations: 229.4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3775, allocations: 3.984 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3775, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3775, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.3784, allocations: 0.5615 MB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3784, allocations: 0 / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3785, allocations: 23.98 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3785, allocations: 7.984 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3786, allocations: 4 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3786, allocations: 0 / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3786, allocations: 8.125 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.3791, allocations: 313.3 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.3791, allocations: 35.72 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3792, allocations: 8 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3793, allocations: 11.98 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3793, allocations: 7.984 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3793, allocations: 4 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007303/0.3801, allocations: 0.6589 MB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3801, allocations: 0 / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.3804, allocations: 35.94 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002474/0.3828, allocations: 1.238 MB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3832, allocations: 123.8 kB / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3832, allocations: 0 / 0.5694 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3834, allocations: 63.89 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3838, allocations: 42.66 kB / 0.5695 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.3885, allocations: 3.553 MB / 0.5729 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3888, allocations: 240.8 kB / 0.5732 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3889, allocations: 28.45 kB / 0.5732 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.389, allocations: 127.4 kB / 0.5733 GB, free: 7.25 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.389, allocations: 0 / 0.5733 GB, free: 7.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.4199, allocations: 6.952 MB / 0.5801 GB, free: 364 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.47, allocations: 24.67 kB / 0.5801 GB, free: 348 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.678101478959434]