Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001718/0.001718, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002056/0.002056, allocations: 216.9 kB / 23.75 MB, free: 4.668 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2293/0.2293, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 66.04 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003418/0.384, allocations: 1.636 MB / 0.5623 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3851, allocations: 0.5621 MB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3851, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.3854, allocations: 99.67 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.3857, allocations: 111.6 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.386, allocations: 107.7 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3862, allocations: 91.73 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3863, allocations: 13.81 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.3864, allocations: 35.91 kB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3865, allocations: 59.75 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3865, allocations: 7.938 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3867, allocations: 47.97 kB / 0.5634 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3867, allocations: 23.86 kB / 0.5634 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.3868, allocations: 35.75 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.387, allocations: 115.4 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.387, allocations: 4 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.387, allocations: 0 / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.387, allocations: 0 / 0.5635 GB, free: 1.508 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.0005072/0.3875, allocations: 349.5 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3875, allocations: 8.031 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.3876, allocations: 34.75 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3876, allocations: 12.84 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.3879, allocations: 142.9 kB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3879, allocations: 8.375 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3879, allocations: 8.328 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3881, allocations: 61.61 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3881, allocations: 0 / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3881, allocations: 0 / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3881, allocations: 0 / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.3882, allocations: 27.92 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3887, allocations: 283.8 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3888, allocations: 46.56 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.3889, allocations: 24.88 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3889, allocations: 4 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3889, allocations: 30.56 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3889, allocations: 0 / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009234/0.3898, allocations: 245.5 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3899, allocations: 55.41 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.3901, allocations: 230.7 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3902, allocations: 29.7 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.3902, allocations: 116.1 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3903, allocations: 27.8 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3903, allocations: 17.8 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3905, allocations: 322.8 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.3906, allocations: 39.95 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.3906, allocations: 28.06 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3908, allocations: 84.89 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3908, allocations: 0 / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.391, allocations: 109.6 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3911, allocations: 4 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3911, allocations: 0 / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3911, allocations: 4 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3912, allocations: 19.92 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3912, allocations: 3.938 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.3912, allocations: 11.92 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3913, allocations: 12 kB / 0.5658 GB, free: 14.95 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 (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.0001129/0.3914, allocations: 129.8 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.3914, allocations: 7.953 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.3917, allocations: 131 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3917, allocations: 7.984 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3917, allocations: 7.938 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3917, allocations: 3.938 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.3923, allocations: 390.4 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3923, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.3924, allocations: 27.88 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.3924, allocations: 3.984 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3924, allocations: 0 / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3924, allocations: 4 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3924, allocations: 0 / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3927, allocations: 216.3 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.3927, allocations: 11.89 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3927, allocations: 3.984 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.3928, allocations: 4 kB / 0.5667 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3928, allocations: 11.98 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3928, allocations: 4 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.393, allocations: 180.2 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.393, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3932, allocations: 27.94 kB / 0.567 GB, free: 13.71 MB / 414.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.002132/0.3953, allocations: 1.101 MB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3956, allocations: 83.88 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3956, allocations: 0 / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.3957, allocations: 35.92 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.396, allocations: 24.17 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3982, allocations: 1.755 MB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3986, allocations: 0.7119 MB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.3986, allocations: 20.94 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.3987, allocations: 39.42 kB / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3987, allocations: 0 / 0.5706 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.4272, allocations: 3.418 MB / 0.574 GB, free: 6.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.36, allocations: 15.09 kB / 0.574 GB, free: 6.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.44370273896493]