Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00127/0.00127, 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.001441/0.001441, allocations: 216.8 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.582/1.582, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 46.97 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 59.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3779, allocations: 66.03 MB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00364/0.3815, allocations: 1.601 MB / 0.5629 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3827, allocations: 0.527 MB / 0.5634 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3827, allocations: 3.938 kB / 0.5635 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.383, allocations: 27.84 kB / 0.5635 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3833, allocations: 83.62 kB / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3837, allocations: 98.94 kB / 0.5637 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.384, allocations: 71.77 kB / 0.5637 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3841, allocations: 13.81 kB / 0.5637 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.3842, allocations: 27.92 kB / 0.5638 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3843, allocations: 35.83 kB / 0.5638 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3844, allocations: 8 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.3846, allocations: 95.89 kB / 0.5639 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3847, allocations: 15.92 kB / 0.5639 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.3848, allocations: 23.86 kB / 0.5639 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.3852, allocations: 151.5 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3852, allocations: 0 / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3852, allocations: 0 / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3852, allocations: 0 / 0.5641 GB, free: 1.465 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.0007487/0.3859, allocations: 341.5 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.386, allocations: 12.03 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.386, allocations: 4.188 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3861, allocations: 38.73 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.3861, allocations: 8.891 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3864, allocations: 134.4 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3864, allocations: 4.375 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3864, allocations: 4.125 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3866, allocations: 97.03 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3866, allocations: 0 / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3866, allocations: 0 / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3866, allocations: 4 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3867, allocations: 23.98 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.3872, allocations: 271.9 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3873, allocations: 62.48 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.3874, allocations: 20.98 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3874, allocations: 7.969 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3875, allocations: 30.56 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3875, allocations: 0 / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006913/0.3882, allocations: 193.3 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.3882, allocations: 77.11 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3884, allocations: 153.1 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3884, allocations: 29.7 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3885, allocations: 96.09 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3885, allocations: 27.78 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3886, allocations: 25.66 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3887, allocations: 330.7 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.3888, allocations: 31.97 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.389, allocations: 79.33 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3891, allocations: 72.81 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3891, allocations: 384 / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002459/0.3894, allocations: 117.5 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3894, allocations: 6.656 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3894, allocations: 4.031 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3894, allocations: 4 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3895, allocations: 19.98 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3895, allocations: 0 / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.3896, allocations: 11.92 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.3896, allocations: 4 kB / 0.5663 GB, free: 14.94 MB / 414.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.0001025/0.3897, allocations: 121.8 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3897, allocations: 7.953 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.39, allocations: 122.3 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.39, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3901, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3901, allocations: 3.938 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.3906, allocations: 357.5 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3906, allocations: 288 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.3907, allocations: 19.98 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3907, allocations: 3.938 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3907, allocations: 7.938 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3907, allocations: 4 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3907, allocations: 3.984 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.391, allocations: 203.6 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.391, allocations: 7.953 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.391, allocations: 7.938 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.3911, allocations: 7.984 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.3911, allocations: 4 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3911, allocations: 0 / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3913, allocations: 123.2 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3913, allocations: 4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.3916, allocations: 47.8 kB / 0.5673 GB, free: 13.82 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 (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.002454/0.394, allocations: 1.166 MB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.3943, allocations: 67.94 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3943, allocations: 0 / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3944, allocations: 55.83 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3948, allocations: 13.62 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3968, allocations: 1.554 MB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.324e-05/0.3969, allocations: 83.47 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.549e-05/0.397, allocations: 24.42 kB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.397, allocations: 35.41 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.397, allocations: 0 / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.4217, allocations: 3.834 MB / 0.574 GB, free: 7.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 18 kB / 0.574 GB, free: 7.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.117773698992096]