Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001351/0.001351, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001717/0.001717, allocations: 214 kB / 24.52 MB, free: 3.914 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2211/0.2211, allocations: 44.93 MB / 359.6 MB, free: 6.059 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.00307/0.00307, allocations: 71.88 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3756, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003406/0.379, allocations: 1.605 MB / 0.5593 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3801, allocations: 0.5309 MB / 0.5598 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.3801, allocations: 3.938 kB / 0.5598 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3804, allocations: 75.77 kB / 0.5599 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.3807, allocations: 107.6 kB / 0.56 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.381, allocations: 115.3 kB / 0.5601 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3812, allocations: 83.75 kB / 0.5602 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3813, allocations: 13.81 kB / 0.5602 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.3814, allocations: 43.78 kB / 0.5603 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3815, allocations: 63.8 kB / 0.5603 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3815, allocations: 4 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.3816, allocations: 47.98 kB / 0.5604 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3817, allocations: 19.92 kB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.3817, allocations: 27.8 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.3819, allocations: 103.5 kB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3819, allocations: 4 kB / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3819, allocations: 0 / 0.5605 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3819, allocations: 0 / 0.5605 GB, free: 4.711 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.0005021/0.3824, allocations: 345.5 kB / 0.5608 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3825, allocations: 12.03 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.272e-05/0.3825, allocations: 192 / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.3825, allocations: 38.73 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.3826, allocations: 12.84 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3828, allocations: 147 kB / 0.561 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3828, allocations: 4.375 kB / 0.5611 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3828, allocations: 8.125 kB / 0.5611 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.383, allocations: 57.61 kB / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.383, allocations: 0 / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.383, allocations: 0 / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.383, allocations: 0 / 0.5611 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3831, allocations: 27.97 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.3835, allocations: 267.9 kB / 0.5614 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3836, allocations: 58.48 kB / 0.5615 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.3837, allocations: 12.86 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3837, allocations: 8.078 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3838, allocations: 30.56 kB / 0.5615 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3838, allocations: 0 / 0.5615 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000922/0.3847, allocations: 245.2 kB / 0.5617 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3847, allocations: 59.34 kB / 0.5618 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3849, allocations: 206.3 kB / 0.562 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.385, allocations: 25.7 kB / 0.562 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.385, allocations: 108.1 kB / 0.5621 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3851, allocations: 35.75 kB / 0.5622 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.3851, allocations: 29.64 kB / 0.5622 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3852, allocations: 322.8 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.3853, allocations: 35.97 kB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.3854, allocations: 35.92 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3856, allocations: 76.81 kB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3856, allocations: 0 / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.3858, allocations: 101.6 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3858, allocations: 8 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3858, allocations: 0 / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3858, allocations: 4 kB / 0.5627 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3859, allocations: 19.98 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.386, allocations: 3.938 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.386, allocations: 7.938 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.386, allocations: 7.984 kB / 0.5628 GB, free: 2.199 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 0.0001026/0.3861, allocations: 121.8 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3862, allocations: 11.91 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.3865, allocations: 135 kB / 0.563 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3865, allocations: 4 kB / 0.563 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3865, allocations: 3.938 kB / 0.563 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3865, allocations: 4.422 kB / 0.563 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.387, allocations: 374.4 kB / 0.5634 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.387, allocations: 7.922 kB / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.3871, allocations: 19.94 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3871, allocations: 4 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3871, allocations: 3.984 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3871, allocations: 4.5 kB / 0.5634 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3871, allocations: 3.984 kB / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3874, allocations: 216.3 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3874, allocations: 15.84 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3875, allocations: 0 / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.3875, allocations: 7.984 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3876, allocations: 15.92 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3876, allocations: 0 / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3877, allocations: 164.2 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3877, allocations: 4 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.388, allocations: 27.88 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002303/0.3903, allocations: 1.135 MB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3905, allocations: 67.97 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3905, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3906, allocations: 43.91 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.391, allocations: 18.56 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3931, allocations: 1.728 MB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.3932, allocations: 100.7 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.812e-05/0.3933, allocations: 20.95 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3933, allocations: 35.42 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3933, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4169, allocations: 3.41 MB / 0.5703 GB, free: 10.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 13.86 kB / 0.5703 GB, free: 10.56 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 15.018049397040159]