Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001921/0.001921, 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.002651/0.002651, allocations: 217.2 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.481/1.481, 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.2336/0.2336, allocations: 46.92 MB / 360.8 MB, free: 4.27 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 75.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003279/0.362, allocations: 1.629 MB / 0.5623 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3631, allocations: 0.5737 MB / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3632, allocations: 0 / 0.5628 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3634, allocations: 31.78 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3636, allocations: 67.7 kB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.364, allocations: 123.6 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3641, allocations: 79.75 kB / 0.5631 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.3642, allocations: 5.828 kB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.3643, allocations: 27.92 kB / 0.5631 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.3644, allocations: 43.77 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3644, allocations: 4 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3646, allocations: 95.94 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.3646, allocations: 15.92 kB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.3647, allocations: 27.75 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3649, allocations: 143.5 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3649, allocations: 4 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3649, allocations: 0 / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.3649, allocations: 0 / 0.5635 GB, free: 1.594 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.000502/0.3654, allocations: 341.6 kB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3655, allocations: 8.031 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.3655, allocations: 30.75 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.3656, allocations: 8.891 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3658, allocations: 142.4 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3658, allocations: 384 / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3658, allocations: 8.375 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.366, allocations: 63.34 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.366, allocations: 0 / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.366, allocations: 0 / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.366, allocations: 0 / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.484e-05/0.3661, allocations: 31.91 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.3666, allocations: 271.9 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3667, allocations: 46.55 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.3667, allocations: 24.94 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3667, allocations: 0 / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3668, allocations: 30.56 kB / 0.5644 GB, free: 480 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3668, allocations: 4 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006244/0.3674, allocations: 185.3 kB / 0.5646 GB, free: 284 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3675, allocations: 81.05 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3676, allocations: 156.1 kB / 0.5648 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.3677, allocations: 29.7 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3677, allocations: 92.12 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3678, allocations: 31.78 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3678, allocations: 29.7 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.368, allocations: 322.8 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.3681, allocations: 27.98 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3682, allocations: 45.69 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3683, allocations: 77.06 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3683, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002283/0.3686, allocations: 109.5 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3686, allocations: 4 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3686, allocations: 0 / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3686, allocations: 4 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3687, allocations: 15.98 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3687, allocations: 0 / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.3688, allocations: 15.92 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3688, allocations: 8 kB / 0.5656 GB, free: 15.18 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 9.495e-05/0.3689, allocations: 113.8 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3689, allocations: 8.234 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.3692, allocations: 114.3 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3692, allocations: 3.984 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3692, allocations: 8 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3692, allocations: 7.922 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3697, allocations: 361.5 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3698, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.3698, allocations: 19.98 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3698, allocations: 3.938 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3698, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3699, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3699, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3701, allocations: 199.5 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.3701, allocations: 7.953 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3702, allocations: 11.86 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.3702, allocations: 11.94 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3703, allocations: 3.984 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3703, allocations: 7.938 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.3704, allocations: 115.3 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3704, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.3707, allocations: 43.86 kB / 0.5666 GB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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.002281/0.373, allocations: 1.129 MB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3732, allocations: 75.88 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3732, allocations: 4 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.3733, allocations: 31.98 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3737, allocations: 11.98 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3757, allocations: 1.539 MB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3761, allocations: 0.7002 MB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.3762, allocations: 16.66 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.3763, allocations: 27.42 kB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3763, allocations: 3.938 kB / 0.5701 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.4084, allocations: 3.67 MB / 0.5736 GB, free: 6.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 15.22 kB / 0.5737 GB, free: 6.945 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 14.489666894776747]