Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001812/0.001812, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002128/0.002128, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.2436/0.2436, allocations: 46.95 MB / 360.9 MB, free: 3.996 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.91 kB / 0.4961 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 66.03 MB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003846/0.3551, allocations: 1.99 MB / 0.5625 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.3573, allocations: 1.092 MB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3575, allocations: 7.938 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.3581, allocations: 267.1 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.3587, allocations: 263.1 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.3603, allocations: 0.6495 MB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.361, allocations: 366.8 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3612, allocations: 58.72 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.3614, allocations: 155.3 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.3617, allocations: 223.2 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.3617, allocations: 12 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.362, allocations: 75.91 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3621, allocations: 99.61 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3622, allocations: 95.2 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.3627, allocations: 370.2 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3628, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3628, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3628, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000949/0.3637, allocations: 0.6359 MB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3638, allocations: 8.031 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.556e-05/0.3638, allocations: 46.67 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3639, allocations: 44.66 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.3646, allocations: 284.6 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3646, allocations: 8.375 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.3647, allocations: 8.375 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.3651, allocations: 137.5 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3651, allocations: 7.891 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.3651, allocations: 8 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3651, allocations: 0 / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.3654, allocations: 91.88 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3666, allocations: 479.5 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.3669, allocations: 98.47 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.367, allocations: 44.83 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.367, allocations: 4 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3671, allocations: 38.5 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.3671, allocations: 0 / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001227/0.3683, allocations: 452.5 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3683, allocations: 55.41 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.3692, allocations: 0.6034 MB / 0.5691 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3692, allocations: 29.7 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.3694, allocations: 220.4 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.3695, allocations: 59.44 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.3695, allocations: 41.7 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3698, allocations: 354.8 kB / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3699, allocations: 71.89 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.37, allocations: 66.92 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.3704, allocations: 160.7 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3704, allocations: 4 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004471/0.3708, allocations: 235.6 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3708, allocations: 8 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3708, allocations: 3.984 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3708, allocations: 0 / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.371, allocations: 35.92 kB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.371, allocations: 0 / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.3711, allocations: 11.98 kB / 0.5703 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3711, allocations: 8 kB / 0.5703 GB, free: 9.98 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 (17): * Single equations (assignments): 17 * 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.0002084/0.3713, allocations: 185.7 kB / 0.5705 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3714, allocations: 47.67 kB / 0.5706 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.372, allocations: 277.6 kB / 0.5708 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.372, allocations: 4 kB / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.372, allocations: 0 / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.372, allocations: 0 / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3731, allocations: 0.6456 MB / 0.5715 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3731, allocations: 4 kB / 0.5715 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3732, allocations: 27.98 kB / 0.5715 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3732, allocations: 0 / 0.5715 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3732, allocations: 11.98 kB / 0.5715 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.3732, allocations: 3.938 kB / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3732, allocations: 0 / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.3737, allocations: 333.5 kB / 0.5718 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.3738, allocations: 43.7 kB / 0.5719 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3739, allocations: 4 kB / 0.5719 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.374, allocations: 19.92 kB / 0.5719 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.374, allocations: 7.984 kB / 0.5719 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.374, allocations: 7.984 kB / 0.5719 GB, free: 8.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.3746, allocations: 450.8 kB / 0.5723 GB, free: 7.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3746, allocations: 0 / 0.5723 GB, free: 7.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.3749, allocations: 51.92 kB / 0.5724 GB, free: 7.801 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 (17): * Single equations (assignments): 17 * 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.003862/0.3788, allocations: 1.545 MB / 0.5739 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3792, allocations: 155.8 kB / 0.574 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3792, allocations: 0 / 0.574 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3793, allocations: 83.89 kB / 0.5741 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.38, allocations: 95.78 kB / 0.5742 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3848, allocations: 3.331 MB / 0.5775 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.385, allocations: 224.8 kB / 0.5777 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.3852, allocations: 66.16 kB / 0.5777 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3854, allocations: 139.4 kB / 0.5779 GB, free: 2.434 MB / 414.1 MB Notification: Performance of SimCode: time 2.154e-06/0.3854, allocations: 0 / 0.5779 GB, free: 2.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.4237, allocations: 8.58 MB / 0.5863 GB, free: 9.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 2.656 kB / 0.5863 GB, free: 9.875 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 14.671716469340026]