Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.002003/0.002003, allocations: 111.1 kB / 20.44 MB, free: 1.055 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.002436/0.002436, allocations: 212.7 kB / 23.73 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.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2225/0.2225, allocations: 44.93 MB / 358.8 MB, free: 6.027 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.00219/0.00219, allocations: 71.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3395, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003072/0.3425, allocations: 1.616 MB / 0.5586 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3437, allocations: 0.5388 MB / 0.5591 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.3437, allocations: 0 / 0.5591 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.344, allocations: 75.7 kB / 0.5592 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.3443, allocations: 107.6 kB / 0.5593 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3446, allocations: 119.3 kB / 0.5594 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3447, allocations: 83.75 kB / 0.5595 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3448, allocations: 17.81 kB / 0.5595 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.345, allocations: 35.84 kB / 0.5595 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3451, allocations: 63.75 kB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3451, allocations: 4 kB / 0.5596 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3452, allocations: 43.98 kB / 0.5596 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3452, allocations: 27.91 kB / 0.5596 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.3453, allocations: 23.8 kB / 0.5597 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3455, allocations: 107.5 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3455, allocations: 0 / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3455, allocations: 0 / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3455, allocations: 0 / 0.5598 GB, free: 4.652 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.0005008/0.346, allocations: 351.9 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.346, allocations: 12.03 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.3461, allocations: 30.75 kB / 0.5601 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3461, allocations: 16.84 kB / 0.5602 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3463, allocations: 147 kB / 0.5603 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3463, allocations: 384 / 0.5603 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3464, allocations: 8.375 kB / 0.5603 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3465, allocations: 53.61 kB / 0.5604 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3465, allocations: 0 / 0.5604 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3465, allocations: 4 kB / 0.5604 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3465, allocations: 4 kB / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3466, allocations: 27.92 kB / 0.5604 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.3471, allocations: 263.9 kB / 0.5606 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3472, allocations: 54.55 kB / 0.5607 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.3472, allocations: 16.88 kB / 0.5607 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3472, allocations: 4 kB / 0.5607 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3473, allocations: 34.56 kB / 0.5607 GB, free: 3.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3473, allocations: 0 / 0.5607 GB, free: 3.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009242/0.3482, allocations: 241.2 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3482, allocations: 55.41 kB / 0.561 GB, free: 3.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3485, allocations: 218.2 kB / 0.5612 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3485, allocations: 29.64 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3486, allocations: 108.1 kB / 0.5614 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.3486, allocations: 27.75 kB / 0.5614 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3487, allocations: 33.64 kB / 0.5614 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3488, allocations: 322.8 kB / 0.5617 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.3489, allocations: 27.98 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.349, allocations: 27.97 kB / 0.5618 GB, free: 2.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3492, allocations: 80.98 kB / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3492, allocations: 0 / 0.5619 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002333/0.3494, allocations: 105.6 kB / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3494, allocations: 12 kB / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3494, allocations: 0 / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3494, allocations: 3.984 kB / 0.562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.3495, allocations: 16 kB / 0.562 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3495, allocations: 3.938 kB / 0.562 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.3496, allocations: 7.984 kB / 0.562 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3496, allocations: 0 / 0.562 GB, free: 2.156 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.0001124/0.3497, allocations: 133.8 kB / 0.5621 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3497, allocations: 11.91 kB / 0.5621 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3501, allocations: 131 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3501, allocations: 7.984 kB / 0.5623 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3501, allocations: 7.938 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3501, allocations: 0 / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.3507, allocations: 382.4 kB / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3507, allocations: 0 / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.3508, allocations: 23.86 kB / 0.5627 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3508, allocations: 8.031 kB / 0.5627 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3508, allocations: 4 kB / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3508, allocations: 0 / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3508, allocations: 0 / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3511, allocations: 212.3 kB / 0.5629 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.3511, allocations: 15.84 kB / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3511, allocations: 0 / 0.5629 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3512, allocations: 4 kB / 0.5629 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3512, allocations: 11.98 kB / 0.5629 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.3512, allocations: 7.938 kB / 0.5629 GB, free: 1.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.3514, allocations: 164.2 kB / 0.5631 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3514, allocations: 3.938 kB / 0.5631 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3517, allocations: 27.92 kB / 0.5631 GB, free: 0.9258 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.002375/0.354, allocations: 1.121 MB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3543, allocations: 71.88 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3543, allocations: 0 / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3544, allocations: 43.91 kB / 0.5643 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3548, allocations: 27.73 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3569, allocations: 1.724 MB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3571, allocations: 96.75 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.191e-05/0.3571, allocations: 28.94 kB / 0.5661 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.3572, allocations: 31.42 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3572, allocations: 0 / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3882, allocations: 3.728 MB / 0.5698 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.59, allocations: 6.641 kB / 0.5698 GB, free: 10.19 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.741605638992041]