Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001809/0.001809, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002379/0.002379, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.233/0.233, allocations: 46.94 MB / 361.6 MB, free: 4.297 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 0.4969 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3926, allocations: 66.05 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003309/0.3959, allocations: 1.714 MB / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.397, allocations: 0.5854 MB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.3971, allocations: 0 / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3973, allocations: 27.72 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.3976, allocations: 83.61 kB / 0.5638 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.398, allocations: 135.4 kB / 0.5639 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3982, allocations: 91.75 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3983, allocations: 17.81 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.3984, allocations: 43.84 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.3985, allocations: 43.77 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3985, allocations: 4 kB / 0.5641 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3987, allocations: 107.9 kB / 0.5642 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.3988, allocations: 23.92 kB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.3989, allocations: 35.8 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3992, allocations: 175.2 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3992, allocations: 4 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3992, allocations: 0 / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3992, allocations: 0 / 0.5644 GB, free: 1.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007016/0.3999, allocations: 373.5 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3999, allocations: 12.03 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.3999, allocations: 192 / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.4, allocations: 30.75 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.4, allocations: 12.89 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.4002, allocations: 150.3 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4003, allocations: 4.375 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4003, allocations: 16 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.4006, allocations: 87.36 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4006, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4006, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4006, allocations: 4 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.4009, allocations: 71.92 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.4014, allocations: 283.8 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.4016, allocations: 66.53 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.4018, allocations: 52.92 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.4019, allocations: 0 / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4019, allocations: 30.56 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.4019, allocations: 0 / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001654/0.4035, allocations: 397.2 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.4036, allocations: 81.11 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4038, allocations: 165.8 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4038, allocations: 25.7 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.4039, allocations: 100.1 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.4039, allocations: 35.7 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.404, allocations: 25.7 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4041, allocations: 322.8 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.4044, allocations: 67.98 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.4047, allocations: 93.64 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.4053, allocations: 148.7 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4053, allocations: 0 / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000679/0.406, allocations: 189.4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.406, allocations: 14.17 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.406, allocations: 4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.406, allocations: 0 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4062, allocations: 31.97 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4062, allocations: 3.938 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.4064, allocations: 32.33 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4064, allocations: 4 kB / 0.5673 GB, free: 14.3 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 (10): * Single equations (assignments): 10 * 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.0001263/0.4065, allocations: 117.8 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.4066, allocations: 11.91 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.4073, allocations: 214 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4073, allocations: 4 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4073, allocations: 3.938 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4073, allocations: 0 / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.4083, allocations: 477.4 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4083, allocations: 3.938 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.4085, allocations: 31.97 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4085, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4085, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4085, allocations: 4 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4085, allocations: 3.984 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/0.4092, allocations: 287.2 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.4093, allocations: 15.88 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4093, allocations: 8 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4095, allocations: 23.97 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.4096, allocations: 11.98 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4096, allocations: 0 / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4097, allocations: 127.2 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 0 / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.41, allocations: 47.86 kB / 0.5686 GB, free: 12.86 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 (9): * Single equations (assignments): 9 * 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.002682/0.4127, allocations: 1.229 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006992/0.4134, allocations: 155.8 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4134, allocations: 0 / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.4137, allocations: 83.86 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4141, allocations: 28.39 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.4173, allocations: 1.856 MB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4177, allocations: 0.704 MB / 0.5725 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4178, allocations: 20.47 kB / 0.5726 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.4179, allocations: 35.42 kB / 0.5726 GB, free: 8.809 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4179, allocations: 0 / 0.5726 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.443, allocations: 4.471 MB / 0.577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.95, allocations: 9.312 kB / 0.577 GB, free: 4.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.141597690992057]