Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001598/0.001598, allocations: 112.2 kB / 21.22 MB, free: 0.7461 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.001402/0.001402, allocations: 210.1 kB / 24.53 MB, free: 4.148 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2438/0.2438, allocations: 44.92 MB / 359.6 MB, free: 6.355 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_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.002573/0.002573, allocations: 67.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4155, allocations: 65.48 MB / 0.5578 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003414/0.4189, allocations: 1.621 MB / 0.5594 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.42, allocations: 0.5582 MB / 0.5599 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.4201, allocations: 3.938 kB / 0.5599 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.4203, allocations: 31.78 kB / 0.56 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.4206, allocations: 75.69 kB / 0.56 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.4209, allocations: 99.69 kB / 0.5601 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.4211, allocations: 79.75 kB / 0.5602 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4212, allocations: 9.828 kB / 0.5602 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.4212, allocations: 31.86 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.4213, allocations: 31.83 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4214, allocations: 4 kB / 0.5603 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.4216, allocations: 99.94 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.4216, allocations: 23.86 kB / 0.5604 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.4217, allocations: 23.81 kB / 0.5604 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4219, allocations: 151.5 kB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.422, allocations: 4 kB / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.422, allocations: 0 / 0.5606 GB, free: 4.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.422, allocations: 0 / 0.5606 GB, free: 4.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005726/0.4225, allocations: 341.5 kB / 0.5609 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4226, allocations: 8.031 kB / 0.5609 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.579e-05/0.4226, allocations: 4.188 kB / 0.5609 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.4226, allocations: 38.69 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4227, allocations: 8.891 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4229, allocations: 142.4 kB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4229, allocations: 4.375 kB / 0.5611 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4229, allocations: 4.125 kB / 0.5611 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4231, allocations: 67.39 kB / 0.5612 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4231, allocations: 0 / 0.5612 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4231, allocations: 0 / 0.5612 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4232, allocations: 4 kB / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4233, allocations: 31.91 kB / 0.5612 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.4237, allocations: 271.9 kB / 0.5615 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.4238, allocations: 54.56 kB / 0.5615 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.4239, allocations: 24.97 kB / 0.5615 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4239, allocations: 0 / 0.5615 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.424, allocations: 38.5 kB / 0.5616 GB, free: 3.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.424, allocations: 0 / 0.5616 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006939/0.4247, allocations: 201.3 kB / 0.5618 GB, free: 3.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.4247, allocations: 77.11 kB / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.4249, allocations: 150.1 kB / 0.562 GB, free: 3.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.4249, allocations: 29.7 kB / 0.562 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.425, allocations: 100.1 kB / 0.5621 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.425, allocations: 27.78 kB / 0.5621 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.4251, allocations: 21.72 kB / 0.5622 GB, free: 3.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4252, allocations: 326.7 kB / 0.5625 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.4253, allocations: 27.98 kB / 0.5625 GB, free: 2.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.4254, allocations: 45.69 kB / 0.5625 GB, free: 2.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.4256, allocations: 80.78 kB / 0.5626 GB, free: 2.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4256, allocations: 0 / 0.5626 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003102/0.4259, allocations: 113.6 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4259, allocations: 4 kB / 0.5627 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4259, allocations: 3.938 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.426, allocations: 4 kB / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4261, allocations: 19.92 kB / 0.5628 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4261, allocations: 8 kB / 0.5628 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.4261, allocations: 7.922 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4261, allocations: 8 kB / 0.5628 GB, free: 2.418 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 (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 prepare postOptimizeDAE: time 0.000106/0.4263, allocations: 113.8 kB / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.4263, allocations: 7.953 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.4266, allocations: 118.4 kB / 0.563 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4266, allocations: 4 kB / 0.563 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4266, allocations: 4 kB / 0.563 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4266, allocations: 3.938 kB / 0.563 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.4272, allocations: 369.5 kB / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4272, allocations: 288 / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.4272, allocations: 15.98 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4272, allocations: 7.938 kB / 0.5634 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4273, allocations: 7.938 kB / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4273, allocations: 0 / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4273, allocations: 4 kB / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.4275, allocations: 199.4 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4276, allocations: 11.94 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4276, allocations: 3.938 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.4277, allocations: 8.375 kB / 0.5636 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4277, allocations: 7.984 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4277, allocations: 7.984 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.4278, allocations: 120.5 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4278, allocations: 0 / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.4281, allocations: 43.86 kB / 0.5638 GB, free: 1.293 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 (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 Backend phase and start with SimCode phase: time 0.002225/0.4303, allocations: 1.151 MB / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4306, allocations: 67.89 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4306, allocations: 4 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.4307, allocations: 31.92 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4311, allocations: 19.98 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.4331, allocations: 1.55 MB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4335, allocations: 0.7005 MB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.721e-05/0.4335, allocations: 20.56 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.4336, allocations: 31.52 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4336, allocations: 7.938 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.4583, allocations: 3.763 MB / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 12 kB / 0.571 GB, free: 10.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.968474884983152]