Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.002087/0.002087, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002232/0.002232, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2206/0.2206, allocations: 44.92 MB / 359.6 MB, free: 6.316 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001997/0.001997, allocations: 67.89 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 65.47 MB / 0.5578 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003121/0.3785, allocations: 1.609 MB / 0.5594 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3805, allocations: 1.263 MB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3806, allocations: 0 / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.3808, allocations: 23.84 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.381, allocations: 87.61 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3813, allocations: 87.7 kB / 0.5608 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3814, allocations: 67.77 kB / 0.5609 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.3815, allocations: 13.81 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.3816, allocations: 27.92 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3817, allocations: 35.78 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3817, allocations: 8 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3819, allocations: 103.9 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3819, allocations: 11.94 kB / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.382, allocations: 27.86 kB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3822, allocations: 139.4 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3822, allocations: 4 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3822, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3822, allocations: 0 / 0.5612 GB, free: 4.305 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.0005178/0.3828, allocations: 329.7 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3828, allocations: 12.03 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3828, allocations: 4.188 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.3829, allocations: 30.75 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3829, allocations: 8.891 kB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3831, allocations: 134.4 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3831, allocations: 4.359 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3832, allocations: 8.125 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3833, allocations: 67.34 kB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3833, allocations: 4 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3833, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3833, allocations: 0 / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.3834, allocations: 27.97 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3838, allocations: 244 kB / 0.5621 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.384, allocations: 42.5 kB / 0.5621 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.3841, allocations: 24.94 kB / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3841, allocations: 0 / 0.5621 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3841, allocations: 30.56 kB / 0.5622 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3841, allocations: 4 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.3847, allocations: 137.7 kB / 0.5623 GB, free: 3.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.3847, allocations: 81.11 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3849, allocations: 153.8 kB / 0.5625 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3849, allocations: 25.7 kB / 0.5625 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.385, allocations: 96.08 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.385, allocations: 11.86 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3851, allocations: 21.7 kB / 0.5627 GB, free: 2.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3852, allocations: 318.8 kB / 0.563 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.3853, allocations: 23.98 kB / 0.563 GB, free: 2.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.3854, allocations: 37.62 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3855, allocations: 40.84 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3855, allocations: 0 / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.3857, allocations: 81.61 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3857, allocations: 8 kB / 0.5631 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3857, allocations: 7.969 kB / 0.5632 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3857, allocations: 3.938 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.3858, allocations: 15.97 kB / 0.5632 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3858, allocations: 4 kB / 0.5632 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.3858, allocations: 3.938 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3858, allocations: 4 kB / 0.5632 GB, free: 2.082 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.54e-05/0.3859, allocations: 121.7 kB / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.386, allocations: 12.19 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3862, allocations: 90.06 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3862, allocations: 4 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3862, allocations: 0 / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3862, allocations: 3.938 kB / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.3867, allocations: 321.6 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3867, allocations: 0 / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.3868, allocations: 15.98 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3868, allocations: 4 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3868, allocations: 3.938 kB / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3868, allocations: 0 / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3868, allocations: 0 / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.387, allocations: 179.4 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.387, allocations: 7.953 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3871, allocations: 7.938 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3871, allocations: 7.984 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.3872, allocations: 4 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3872, allocations: 4 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3873, allocations: 113.8 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3873, allocations: 0 / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.3875, allocations: 35.88 kB / 0.5641 GB, free: 1.074 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.002141/0.3897, allocations: 1.117 MB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3899, allocations: 47.91 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3899, allocations: 0 / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.39, allocations: 23.98 kB / 0.5652 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3903, allocations: 26.42 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3921, allocations: 1.427 MB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3924, allocations: 0.6885 MB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.3925, allocations: 20 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.3926, allocations: 31.42 kB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3926, allocations: 0 / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4192, allocations: 3.412 MB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 2.5 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.058248248999007]