Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001833/0.001833, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.0026/0.0026, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2212/0.2212, allocations: 44.91 MB / 358.8 MB, free: 6.289 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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",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.002074/0.002074, allocations: 71.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003142/0.3201, allocations: 1.627 MB / 0.5586 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3221, allocations: 1.255 MB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.3221, allocations: 0 / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3224, allocations: 15.86 kB / 0.5599 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.3226, allocations: 87.61 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3229, allocations: 91.69 kB / 0.56 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.323, allocations: 71.77 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.3231, allocations: 13.83 kB / 0.5601 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.3232, allocations: 23.92 kB / 0.5601 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.3239, allocations: 39.78 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.324, allocations: 4 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.3242, allocations: 99.92 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.3243, allocations: 7.938 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3243, allocations: 35.84 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.3246, allocations: 135.4 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3246, allocations: 0 / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3246, allocations: 0 / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3246, allocations: 4 kB / 0.5605 GB, free: 4.277 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000495/0.3251, allocations: 325.7 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3252, allocations: 8.031 kB / 0.5608 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.3252, allocations: 46.69 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3252, allocations: 4.891 kB / 0.5608 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3254, allocations: 142.3 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3254, allocations: 384 / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3255, allocations: 8.312 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3256, allocations: 67.34 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3256, allocations: 0 / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3257, allocations: 0 / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3257, allocations: 0 / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3258, allocations: 23.97 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.3261, allocations: 248 kB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3263, allocations: 46.5 kB / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.3264, allocations: 16.94 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3264, allocations: 0 / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3265, allocations: 34.56 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3265, allocations: 0 / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005912/0.327, allocations: 141.7 kB / 0.5615 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.3271, allocations: 77.11 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3273, allocations: 145.8 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3273, allocations: 29.7 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3274, allocations: 96.02 kB / 0.5619 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3274, allocations: 23.84 kB / 0.5619 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3275, allocations: 13.72 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3276, allocations: 326.8 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.3277, allocations: 19.98 kB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.3278, allocations: 33.64 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3279, allocations: 48.83 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3279, allocations: 0 / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002135/0.3281, allocations: 77.62 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3281, allocations: 8.031 kB / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3281, allocations: 256 / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3282, allocations: 7.984 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.3282, allocations: 15.98 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3282, allocations: 0 / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.3283, allocations: 11.88 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3283, allocations: 3.938 kB / 0.5624 GB, free: 2.055 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 (5): * Single equations (assignments): 5 * 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.0001033/0.3284, allocations: 121.8 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3284, allocations: 11.95 kB / 0.5625 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.3287, allocations: 90.06 kB / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3287, allocations: 0 / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3287, allocations: 0 / 0.5626 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3287, allocations: 7.938 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3292, allocations: 321.6 kB / 0.5629 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3292, allocations: 0 / 0.5629 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.3292, allocations: 15.98 kB / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3292, allocations: 0 / 0.563 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3293, allocations: 3.938 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3293, allocations: 4 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3293, allocations: 0 / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3295, allocations: 179.4 kB / 0.5631 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3295, allocations: 7.953 kB / 0.5631 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3296, allocations: 11.94 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.3296, allocations: 3.984 kB / 0.5632 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.3297, allocations: 4 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3297, allocations: 0 / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3298, allocations: 117.9 kB / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3298, allocations: 0 / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3301, allocations: 39.86 kB / 0.5633 GB, free: 1.043 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002291/0.3324, allocations: 1.108 MB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3326, allocations: 51.84 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3326, allocations: 0 / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/0.3327, allocations: 19.98 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.333, allocations: 25.42 kB / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.335, allocations: 1.431 MB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3354, allocations: 0.6924 MB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.3354, allocations: 16 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.3355, allocations: 31.36 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3355, allocations: 0 / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.3681, allocations: 3.386 MB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.43, allocations: 11.19 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.420516504906118]