Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001638/0.001638, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.00204/0.00204, allocations: 213.3 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2286/0.2286, allocations: 44.93 MB / 358.8 MB, free: 6.035 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002131/0.002131, allocations: 67.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003926/0.3444, allocations: 1.601 MB / 0.5585 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3456, allocations: 0.5504 MB / 0.5591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.3457, allocations: 0 / 0.5591 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3459, allocations: 23.84 kB / 0.5591 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3462, allocations: 79.62 kB / 0.5592 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3466, allocations: 111.7 kB / 0.5593 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3467, allocations: 79.69 kB / 0.5594 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.3468, allocations: 13.83 kB / 0.5594 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.3469, allocations: 19.92 kB / 0.5594 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.774e-05/0.347, allocations: 35.83 kB / 0.5594 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.347, allocations: 4 kB / 0.5594 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3472, allocations: 95.88 kB / 0.5595 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.3472, allocations: 11.94 kB / 0.5595 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.3472, allocations: 27.86 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3475, allocations: 139.5 kB / 0.5597 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3475, allocations: 4 kB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3475, allocations: 0 / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3475, allocations: 3.938 kB / 0.5597 GB, free: 4.695 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.0006165/0.3481, allocations: 339.5 kB / 0.56 GB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3482, allocations: 8.031 kB / 0.56 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.3482, allocations: 34.75 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3483, allocations: 8.891 kB / 0.5601 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.3485, allocations: 134.4 kB / 0.5602 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.3485, allocations: 4.375 kB / 0.5602 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3485, allocations: 4.375 kB / 0.5602 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3487, allocations: 93.03 kB / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3487, allocations: 3.938 kB / 0.5603 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3487, allocations: 4 kB / 0.5603 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3487, allocations: 0 / 0.5603 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.3488, allocations: 23.92 kB / 0.5603 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.3493, allocations: 264 kB / 0.5606 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3494, allocations: 50.56 kB / 0.5606 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.3495, allocations: 32.86 kB / 0.5607 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3495, allocations: 0 / 0.5607 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3496, allocations: 30.56 kB / 0.5607 GB, free: 3.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3496, allocations: 0 / 0.5607 GB, free: 3.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006544/0.3502, allocations: 181.3 kB / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3503, allocations: 81.11 kB / 0.5609 GB, free: 3.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3504, allocations: 160.2 kB / 0.5611 GB, free: 3.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3505, allocations: 29.7 kB / 0.5611 GB, free: 3.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.3505, allocations: 88.14 kB / 0.5612 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3506, allocations: 27.78 kB / 0.5612 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3506, allocations: 25.72 kB / 0.5613 GB, free: 2.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3507, allocations: 322.8 kB / 0.5616 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.3508, allocations: 35.95 kB / 0.5616 GB, free: 2.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3509, allocations: 71.41 kB / 0.5617 GB, free: 2.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3511, allocations: 72.84 kB / 0.5617 GB, free: 2.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3511, allocations: 0 / 0.5617 GB, free: 2.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.3513, allocations: 105.5 kB / 0.5618 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3514, allocations: 7.984 kB / 0.5618 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3514, allocations: 4 kB / 0.5618 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3514, allocations: 0 / 0.5618 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3515, allocations: 15.98 kB / 0.5619 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3515, allocations: 0 / 0.5619 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.3516, allocations: 15.94 kB / 0.5619 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3516, allocations: 8 kB / 0.5619 GB, free: 2.234 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 (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 8.972e-05/0.3517, allocations: 113.8 kB / 0.562 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.3517, allocations: 11.94 kB / 0.562 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.352, allocations: 122.6 kB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.352, allocations: 3.938 kB / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.352, allocations: 0 / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.352, allocations: 3.938 kB / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.3525, allocations: 361.5 kB / 0.5625 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3525, allocations: 0 / 0.5625 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.3526, allocations: 12 kB / 0.5625 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3526, allocations: 3.938 kB / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3526, allocations: 4 kB / 0.5625 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3526, allocations: 3.984 kB / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3526, allocations: 0 / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3529, allocations: 199.4 kB / 0.5627 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.3529, allocations: 11.95 kB / 0.5627 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3529, allocations: 7.938 kB / 0.5627 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.353, allocations: 7.984 kB / 0.5627 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.353, allocations: 0 / 0.5627 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.353, allocations: 4 kB / 0.5627 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3531, allocations: 115.2 kB / 0.5628 GB, free: 1.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 0 / 0.5628 GB, free: 1.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3534, allocations: 43.86 kB / 0.5629 GB, free: 1.137 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 (7): * Single equations (assignments): 7 * 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.002314/0.3557, allocations: 1.173 MB / 0.564 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.356, allocations: 63.95 kB / 0.5641 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.356, allocations: 0 / 0.5641 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.3561, allocations: 35.91 kB / 0.5641 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3564, allocations: 21.48 kB / 0.5641 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3586, allocations: 1.538 MB / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3587, allocations: 75.33 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3588, allocations: 33.09 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.3589, allocations: 27.42 kB / 0.5658 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3589, allocations: 4 kB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3882, allocations: 4.118 MB / 0.5698 GB, free: 10.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 6.438 kB / 0.5698 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.878012846689671]