Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.002163/0.002163, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002453/0.002453, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.229/0.229, allocations: 46.97 MB / 360.9 MB, free: 4.043 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.91 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003073/0.3119, allocations: 1.66 MB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.313, allocations: 0.5465 MB / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.3131, allocations: 0 / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.3137, allocations: 447.2 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.3142, allocations: 299.3 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.3145, allocations: 135.4 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.3147, allocations: 171.6 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3148, allocations: 17.81 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.315, allocations: 115.7 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3152, allocations: 251.5 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3153, allocations: 4 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3154, allocations: 51.92 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3155, allocations: 87.67 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.3156, allocations: 67.25 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.3159, allocations: 290.5 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3159, allocations: 0 / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3159, allocations: 4 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3159, allocations: 0 / 0.5646 GB, free: 108 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007654/0.3167, allocations: 0.5932 MB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3167, allocations: 15.97 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3168, allocations: 34.75 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.3168, allocations: 44.66 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3171, allocations: 246.8 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3171, allocations: 384 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3171, allocations: 8.375 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3173, allocations: 65.55 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3173, allocations: 4 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.3173, allocations: 0 / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3173, allocations: 3.938 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.3174, allocations: 27.97 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.3179, allocations: 363.7 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.318, allocations: 46.55 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.3181, allocations: 16.86 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3181, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3181, allocations: 34.56 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3181, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009441/0.319, allocations: 328.9 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3191, allocations: 59.28 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.32, allocations: 0.8699 MB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.32, allocations: 33.7 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3202, allocations: 220.1 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.3203, allocations: 31.73 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3203, allocations: 21.72 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3205, allocations: 362.8 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.3206, allocations: 23.98 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.3206, allocations: 19.98 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3208, allocations: 68.83 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3208, allocations: 4 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002533/0.3211, allocations: 137.4 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3211, allocations: 4 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3211, allocations: 3.938 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3211, allocations: 4 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3212, allocations: 19.92 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3212, allocations: 0 / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.3213, allocations: 8 kB / 0.5682 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3213, allocations: 7.938 kB / 0.5682 GB, free: 12.21 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.000215/0.3215, allocations: 217.8 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.3215, allocations: 47.67 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.3219, allocations: 157.8 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3219, allocations: 3.938 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3219, allocations: 0 / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3219, allocations: 3.984 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.3226, allocations: 478.3 kB / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3226, allocations: 0 / 0.5691 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.3227, allocations: 19.98 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3227, allocations: 0 / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3227, allocations: 8 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3227, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3227, allocations: 3.984 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.323, allocations: 243.9 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.323, allocations: 43.73 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3231, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.3232, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.3232, allocations: 7.984 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3232, allocations: 0 / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.3239, allocations: 0.6628 MB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3239, allocations: 0 / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3241, allocations: 27.94 kB / 0.5701 GB, free: 10.21 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.002321/0.3265, allocations: 1.181 MB / 0.5712 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3267, allocations: 55.97 kB / 0.5713 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3267, allocations: 4 kB / 0.5713 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.3268, allocations: 43.91 kB / 0.5713 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3272, allocations: 23.94 kB / 0.5714 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3311, allocations: 3.329 MB / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.3314, allocations: 224.2 kB / 0.5748 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.3314, allocations: 16.72 kB / 0.5748 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.3316, allocations: 111.4 kB / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3316, allocations: 0 / 0.5749 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.3648, allocations: 6.945 MB / 0.5817 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.36, allocations: 10.2 kB / 0.5817 GB, free: 14.4 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.351926954986993]