Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001265/0.001265, allocations: 112.5 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.001432/0.001432, 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8 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.2189/0.2189, allocations: 44.9 MB / 359.6 MB, free: 6.285 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001957/0.001957, allocations: 59.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2987, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003217/0.3019, allocations: 1.72 MB / 0.5595 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.303, allocations: 0.6127 MB / 0.5601 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.3031, allocations: 0 / 0.5601 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3033, allocations: 27.78 kB / 0.5601 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.3036, allocations: 83.56 kB / 0.5602 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.3041, allocations: 195.3 kB / 0.5604 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3043, allocations: 95.7 kB / 0.5605 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3044, allocations: 13.95 kB / 0.5605 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.3045, allocations: 39.84 kB / 0.5605 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.3046, allocations: 43.78 kB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.3046, allocations: 8 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.3048, allocations: 107.9 kB / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.3049, allocations: 23.91 kB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3049, allocations: 43.73 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.3052, allocations: 175.4 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3052, allocations: 0 / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3052, allocations: 0 / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3052, allocations: 0 / 0.5609 GB, free: 4.598 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.0007033/0.3059, allocations: 377.3 kB / 0.5613 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.306, allocations: 8.031 kB / 0.5613 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.306, allocations: 4.188 kB / 0.5613 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.306, allocations: 38.75 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3061, allocations: 12.89 kB / 0.5613 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3063, allocations: 152 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3063, allocations: 4.375 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3064, allocations: 4.125 kB / 0.5615 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3067, allocations: 95.3 kB / 0.5616 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3067, allocations: 4 kB / 0.5616 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3067, allocations: 4 kB / 0.5616 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3067, allocations: 0 / 0.5616 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.307, allocations: 71.92 kB / 0.5616 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.3077, allocations: 315.8 kB / 0.5619 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3079, allocations: 82.44 kB / 0.562 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.3081, allocations: 48.94 kB / 0.5621 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3082, allocations: 4 kB / 0.5621 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3082, allocations: 30.56 kB / 0.5621 GB, free: 3.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3082, allocations: 3.938 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001671/0.3099, allocations: 409.1 kB / 0.5625 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.3099, allocations: 89.11 kB / 0.5626 GB, free: 2.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3101, allocations: 174 kB / 0.5627 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3101, allocations: 29.64 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.3102, allocations: 104.1 kB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3103, allocations: 31.73 kB / 0.5629 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3103, allocations: 17.72 kB / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3105, allocations: 326.8 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.3108, allocations: 83.91 kB / 0.5633 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.3111, allocations: 89.62 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.3117, allocations: 172.7 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3117, allocations: 0 / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006879/0.3124, allocations: 209.5 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3124, allocations: 8 kB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3124, allocations: 0 / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3124, allocations: 384 / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3127, allocations: 39.89 kB / 0.5638 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3127, allocations: 7.938 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3128, allocations: 31.92 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3128, allocations: 7.938 kB / 0.5639 GB, free: 1.355 MB / 398.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.0001141/0.313, allocations: 121.8 kB / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.313, allocations: 11.95 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.3137, allocations: 222.2 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3138, allocations: 0 / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3138, allocations: 3.938 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3138, allocations: 4 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3148, allocations: 493.3 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.3148, allocations: 8.312 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.315, allocations: 35.91 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.315, allocations: 0 / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.315, allocations: 12 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.315, allocations: 0 / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.315, allocations: 0 / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.3157, allocations: 303.3 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.3158, allocations: 23.78 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3158, allocations: 0 / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.316, allocations: 31.95 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3161, allocations: 3.984 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3161, allocations: 4 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3162, allocations: 124.1 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3162, allocations: 4 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.3165, allocations: 56.14 kB / 0.5652 GB, free: 15.84 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.002715/0.3192, allocations: 1.234 MB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007098/0.32, allocations: 183.7 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.32, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.3203, allocations: 83.86 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3206, allocations: 24.41 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3239, allocations: 1.933 MB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3243, allocations: 0.7079 MB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.3244, allocations: 36.45 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.3245, allocations: 35.42 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3245, allocations: 112 / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.3492, allocations: 4.617 MB / 0.5739 GB, free: 7.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.75, allocations: 10.81 kB / 0.5739 GB, free: 7.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.807337300037034]