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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001443/0.001443, allocations: 213.2 kB / 23.73 MB, free: 4.516 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2392/0.2392, allocations: 46.95 MB / 360.9 MB, free: 4.055 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 66.03 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002904/0.3115, allocations: 1.682 MB / 0.5623 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.3125, allocations: 0.5465 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3126, allocations: 7.938 kB / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3127, allocations: 23.8 kB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.313, allocations: 83.61 kB / 0.5629 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.3133, allocations: 139.1 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3134, allocations: 95.7 kB / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.3135, allocations: 17.83 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.3136, allocations: 39.83 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.406e-05/0.3137, allocations: 47.78 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.3137, allocations: 4 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3139, allocations: 103.9 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.3139, allocations: 19.92 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.314, allocations: 35.78 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3143, allocations: 171.3 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3143, allocations: 0 / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3143, allocations: 0 / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3143, allocations: 0 / 0.5635 GB, free: 1.242 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.0006418/0.3149, allocations: 377.4 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3149, allocations: 12.03 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.315, allocations: 34.75 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.315, allocations: 8.891 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.3152, allocations: 144 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3152, allocations: 4.312 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3153, allocations: 4.375 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.3155, allocations: 125 kB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3156, allocations: 0 / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3156, allocations: 0 / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3156, allocations: 0 / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3159, allocations: 67.92 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3163, allocations: 279.8 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3165, allocations: 70.52 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.3167, allocations: 44.95 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3167, allocations: 0 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3167, allocations: 34.55 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3167, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001631/0.3184, allocations: 388.9 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3184, allocations: 77.11 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3186, allocations: 169.8 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3186, allocations: 25.7 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.3187, allocations: 104.2 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3187, allocations: 39.62 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.3188, allocations: 17.72 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3189, allocations: 322.8 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3192, allocations: 75.92 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3195, allocations: 107.3 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.32, allocations: 156.7 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.32, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006052/0.3206, allocations: 193.4 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3207, allocations: 7.938 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3207, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3207, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3209, allocations: 39.95 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3209, allocations: 3.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3211, allocations: 27.97 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3211, allocations: 4 kB / 0.5664 GB, free: 14.11 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 9.651e-05/0.3212, allocations: 117.8 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3212, allocations: 15.91 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.3219, allocations: 214.4 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3219, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3219, allocations: 4.312 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3219, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.3228, allocations: 457.4 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3228, allocations: 8 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.323, allocations: 39.89 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.323, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3231, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3231, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3231, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.3237, allocations: 291.2 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.3237, allocations: 15.88 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3238, allocations: 4 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3239, allocations: 27.97 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.324, allocations: 11.98 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.324, allocations: 0 / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3241, allocations: 127.2 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3241, allocations: 0 / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.3244, allocations: 51.81 kB / 0.5677 GB, free: 12.67 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.002696/0.3271, allocations: 1.261 MB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.3277, allocations: 147.8 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3277, allocations: 4 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.328, allocations: 83.98 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3284, allocations: 19.98 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3313, allocations: 1.852 MB / 0.571 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.1e-05/0.3314, allocations: 85.31 kB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.107e-05/0.3315, allocations: 20.47 kB / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.3316, allocations: 43.42 kB / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3316, allocations: 0 / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.3626, allocations: 5.011 MB / 0.576 GB, free: 4.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.32, allocations: 3.984 kB / 0.576 GB, free: 4.277 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.281684321002103]