Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001847/0.001847, allocations: 115.6 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.002405/0.002405, allocations: 214.1 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2284/0.2284, allocations: 44.9 MB / 358.8 MB, free: 6.297 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",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.002278/0.002278, allocations: 71.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3624, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00305/0.3654, allocations: 1.632 MB / 0.5586 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3665, allocations: 0.566 MB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.3665, allocations: 0 / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.3669, allocations: 131.6 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.3672, allocations: 127.5 kB / 0.5594 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.3675, allocations: 111.7 kB / 0.5595 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3677, allocations: 95.73 kB / 0.5596 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.3678, allocations: 17.81 kB / 0.5597 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.3679, allocations: 55.75 kB / 0.5597 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.368, allocations: 95.77 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3681, allocations: 4 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.3681, allocations: 43.97 kB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3682, allocations: 27.92 kB / 0.5599 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.3683, allocations: 39.67 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3685, allocations: 123.4 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3685, allocations: 0 / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3685, allocations: 4 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3685, allocations: 0 / 0.56 GB, free: 4.715 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.0005268/0.369, allocations: 369.3 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3691, allocations: 8.031 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.3691, allocations: 30.75 kB / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3691, allocations: 16.84 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3693, allocations: 166.4 kB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3694, allocations: 4.375 kB / 0.5606 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3694, allocations: 4.375 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3695, allocations: 61.61 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3695, allocations: 0 / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3695, allocations: 3.984 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3695, allocations: 0 / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.3696, allocations: 31.91 kB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3701, allocations: 275.9 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3702, allocations: 58.42 kB / 0.561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.3703, allocations: 16.86 kB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3703, allocations: 4 kB / 0.561 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3703, allocations: 30.66 kB / 0.5611 GB, free: 3.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3703, allocations: 0 / 0.5611 GB, free: 3.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009823/0.3713, allocations: 257.1 kB / 0.5613 GB, free: 3.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3713, allocations: 51.41 kB / 0.5614 GB, free: 3.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3716, allocations: 275.8 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3717, allocations: 25.7 kB / 0.5616 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.3717, allocations: 112.1 kB / 0.5618 GB, free: 2.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.3718, allocations: 35.8 kB / 0.5618 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3718, allocations: 21.72 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.372, allocations: 326.8 kB / 0.5621 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.3721, allocations: 31.97 kB / 0.5621 GB, free: 2.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.3721, allocations: 31.92 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3723, allocations: 76.75 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3723, allocations: 0 / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/0.3726, allocations: 121.8 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3726, allocations: 8 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3726, allocations: 0 / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3726, allocations: 0 / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3727, allocations: 15.98 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3727, allocations: 3.938 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3727, allocations: 7.984 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3728, allocations: 4 kB / 0.5624 GB, free: 2.074 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 (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.0001131/0.3729, allocations: 143.1 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3729, allocations: 15.91 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.3732, allocations: 139 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3732, allocations: 0 / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3732, allocations: 3.938 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3732, allocations: 0 / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.3738, allocations: 406.3 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3738, allocations: 0 / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3739, allocations: 23.86 kB / 0.5631 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3739, allocations: 4 kB / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3739, allocations: 0 / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3739, allocations: 0 / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3739, allocations: 0 / 0.5631 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.3742, allocations: 224.3 kB / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3742, allocations: 16.27 kB / 0.5633 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3742, allocations: 4 kB / 0.5633 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.3743, allocations: 7.984 kB / 0.5633 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.3743, allocations: 4 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3743, allocations: 3.938 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.3745, allocations: 220.1 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3745, allocations: 0 / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3748, allocations: 19.94 kB / 0.5636 GB, free: 0.7773 MB / 398.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.002302/0.3771, allocations: 1.12 MB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3773, allocations: 71.89 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3774, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3775, allocations: 43.91 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3778, allocations: 27.7 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3803, allocations: 1.851 MB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3808, allocations: 0.7158 MB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.434e-05/0.3809, allocations: 16.97 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.3809, allocations: 47.41 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3809, allocations: 0 / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4119, allocations: 3.63 MB / 0.5709 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.48, allocations: 3.938 kB / 0.5709 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.628462286898866]