Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001393/0.001393, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001549/0.001549, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2231/0.2231, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001988/0.001988, allocations: 64.19 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3774, allocations: 65.47 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003214/0.3806, allocations: 1.614 MB / 0.5594 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3825, allocations: 1.255 MB / 0.5606 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.3826, allocations: 0 / 0.5606 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.3828, allocations: 27.86 kB / 0.5606 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3831, allocations: 83.61 kB / 0.5607 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.3834, allocations: 95.69 kB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3835, allocations: 67.78 kB / 0.5609 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.3836, allocations: 11.98 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.3837, allocations: 19.92 kB / 0.5609 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3838, allocations: 39.78 kB / 0.5609 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3838, allocations: 4 kB / 0.5609 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.384, allocations: 99.88 kB / 0.561 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.3841, allocations: 19.92 kB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.3841, allocations: 27.86 kB / 0.5611 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.3844, allocations: 143.4 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3844, allocations: 0 / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3844, allocations: 0 / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3844, allocations: 0 / 0.5612 GB, free: 4.242 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.0004835/0.3849, allocations: 321.7 kB / 0.5615 GB, free: 3.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3849, allocations: 12.03 kB / 0.5615 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.082e-05/0.3849, allocations: 192 / 0.5615 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.385, allocations: 46.73 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.385, allocations: 8.891 kB / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3852, allocations: 138.4 kB / 0.5617 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-06/0.3852, allocations: 384 / 0.5617 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3852, allocations: 12.06 kB / 0.5617 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3854, allocations: 59.39 kB / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3854, allocations: 0 / 0.5618 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3854, allocations: 4 kB / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3854, allocations: 4 kB / 0.5618 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.3855, allocations: 19.98 kB / 0.5618 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.3859, allocations: 252 kB / 0.5621 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.3862, allocations: 42.5 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.3862, allocations: 8.859 kB / 0.5621 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3862, allocations: 8 kB / 0.5621 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3863, allocations: 38.64 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3863, allocations: 0 / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000574/0.3868, allocations: 137.7 kB / 0.5623 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3869, allocations: 77.11 kB / 0.5624 GB, free: 2.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3871, allocations: 149.8 kB / 0.5625 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3871, allocations: 25.7 kB / 0.5625 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.3872, allocations: 100.1 kB / 0.5626 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3872, allocations: 19.86 kB / 0.5626 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.3873, allocations: 17.7 kB / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3874, allocations: 314.8 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.3875, allocations: 19.98 kB / 0.563 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.3876, allocations: 37.64 kB / 0.563 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3877, allocations: 48.83 kB / 0.5631 GB, free: 2.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3877, allocations: 0 / 0.5631 GB, free: 2.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.3879, allocations: 81.61 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3879, allocations: 6.188 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3879, allocations: 4.234 kB / 0.5632 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3879, allocations: 7.922 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.388, allocations: 20.03 kB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.388, allocations: 0 / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.3881, allocations: 11.92 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.3881, allocations: 3.938 kB / 0.5632 GB, free: 2.016 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 9.985e-05/0.3882, allocations: 113.8 kB / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.3882, allocations: 7.953 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3885, allocations: 94.06 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3885, allocations: 3.984 kB / 0.5634 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3885, allocations: 0 / 0.5634 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3885, allocations: 3.938 kB / 0.5634 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.389, allocations: 321.6 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.389, allocations: 0 / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3891, allocations: 15.98 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3891, allocations: 0 / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3891, allocations: 3.938 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3891, allocations: 4 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3891, allocations: 0 / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3894, allocations: 179.4 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3894, allocations: 11.94 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3894, allocations: 3.938 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.3895, allocations: 4 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3896, allocations: 11.98 kB / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3896, allocations: 0 / 0.5639 GB, free: 1.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.3897, allocations: 115.2 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3897, allocations: 0 / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.39, allocations: 35.88 kB / 0.5641 GB, free: 1.012 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.002523/0.3925, allocations: 1.117 MB / 0.5652 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3928, allocations: 43.91 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3928, allocations: 0 / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.393, allocations: 24.03 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3935, allocations: 15.94 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3955, allocations: 1.437 MB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3959, allocations: 0.6962 MB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3959, allocations: 11.77 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.396, allocations: 27.42 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.396, allocations: 4 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.4231, allocations: 3.414 MB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 8.062 kB / 0.5707 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.843625220994]