Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001718/0.001718, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002106/0.002106, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2847/0.2847, allocations: 46.94 MB / 361.7 MB, free: 4.336 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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.89 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 66.04 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003131/0.3286, allocations: 1.633 MB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3297, allocations: 0.5767 MB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3298, allocations: 3.938 kB / 0.5636 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005936/0.3304, allocations: 455.1 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.3308, allocations: 303.3 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.3313, allocations: 167 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3315, allocations: 171.6 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3316, allocations: 19.92 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3318, allocations: 111.8 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.3321, allocations: 243.5 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3321, allocations: 3.938 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.3321, allocations: 28 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3322, allocations: 88.61 kB / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3324, allocations: 111 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.3327, allocations: 256.6 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3327, allocations: 3.984 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3327, allocations: 0 / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3327, allocations: 0 / 0.5655 GB, free: 316 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008668/0.3336, allocations: 0.5893 MB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3336, allocations: 12.03 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.615e-05/0.3337, allocations: 4.188 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3337, allocations: 30.75 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3338, allocations: 48.66 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.3341, allocations: 246.7 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3341, allocations: 4.375 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3341, allocations: 8.125 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3343, allocations: 49.67 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3343, allocations: 4 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3343, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3343, allocations: 4 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3345, allocations: 35.97 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.3351, allocations: 379.7 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3352, allocations: 42.56 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.3353, allocations: 28.94 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3353, allocations: 0 / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3353, allocations: 34.56 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3353, allocations: 0 / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003853/0.3357, allocations: 129.3 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3358, allocations: 51.41 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.3367, allocations: 0.8893 MB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3367, allocations: 25.7 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3369, allocations: 212.1 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3369, allocations: 11.91 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.337, allocations: 17.7 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3372, allocations: 362.7 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.3373, allocations: 15.98 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.3373, allocations: 23.92 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3375, allocations: 48.81 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3375, allocations: 0 / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002328/0.3377, allocations: 113.3 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3377, allocations: 7.984 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3377, allocations: 0 / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3377, allocations: 4 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.3378, allocations: 8 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3378, allocations: 0 / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.3379, allocations: 7.984 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3379, allocations: 4 kB / 0.5688 GB, free: 12.7 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 (3): * Single equations (assignments): 3 * 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.0002212/0.3381, allocations: 217.7 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3382, allocations: 39.72 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3385, allocations: 129.1 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3385, allocations: 4 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3385, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3385, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.3388, allocations: 264.6 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3388, allocations: 0 / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.3389, allocations: 15.98 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3389, allocations: 0 / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3389, allocations: 4 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3389, allocations: 0 / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3389, allocations: 0 / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3392, allocations: 215.5 kB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.3393, allocations: 43.73 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3393, allocations: 0 / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.3394, allocations: 8 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3394, allocations: 3.984 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.3394, allocations: 7.938 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.3401, allocations: 0.6589 MB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3403, allocations: 27.88 kB / 0.5704 GB, free: 11 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 (3): * Single equations (assignments): 3 * 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.001764/0.3421, allocations: 0.9868 MB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3423, allocations: 39.91 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3423, allocations: 4 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.3424, allocations: 23.98 kB / 0.5714 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3428, allocations: 31.92 kB / 0.5714 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.3466, allocations: 3.218 MB / 0.5746 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.3472, allocations: 0.826 MB / 0.5754 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.3472, allocations: 19.8 kB / 0.5754 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3474, allocations: 115.4 kB / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3474, allocations: 0 / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3747, allocations: 6.008 MB / 0.5814 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.1, allocations: 13.42 kB / 0.5814 GB, free: 15.79 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.223656850983389]