Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.001814/0.001814, allocations: 116 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.002313/0.002313, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.2383/0.2383, 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.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.4962 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 66.03 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003131/0.3606, allocations: 1.679 MB / 0.5623 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3626, allocations: 1.271 MB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.3626, allocations: 0 / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3629, allocations: 23.8 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3632, allocations: 95.55 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3635, allocations: 127 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3637, allocations: 75.77 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3638, allocations: 21.8 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.3639, allocations: 31.86 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3641, allocations: 39.83 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3641, allocations: 4 kB / 0.564 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.3643, allocations: 99.88 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.3644, allocations: 15.92 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.3644, allocations: 39.78 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3647, allocations: 143.4 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3647, allocations: 0 / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.3647, allocations: 4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3648, allocations: 4 kB / 0.5642 GB, free: 0.7578 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.0006141/0.3654, allocations: 345.6 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3654, allocations: 12.02 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.3655, allocations: 34.75 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.3655, allocations: 8.891 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3658, allocations: 138.4 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3658, allocations: 384 / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3658, allocations: 8.328 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.366, allocations: 83.25 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.366, allocations: 0 / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.366, allocations: 4 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.366, allocations: 0 / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.3662, allocations: 35.97 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.3666, allocations: 271.9 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3668, allocations: 42.5 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3668, allocations: 28.92 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.3669, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3669, allocations: 34.5 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3669, allocations: 0 / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007595/0.3676, allocations: 217.2 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3677, allocations: 77.11 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3679, allocations: 154.1 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3679, allocations: 25.7 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.368, allocations: 100.1 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.368, allocations: 27.73 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.368, allocations: 17.72 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3682, allocations: 322.8 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3683, allocations: 31.97 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3684, allocations: 53.75 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3686, allocations: 84.67 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3686, allocations: 0 / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.3689, allocations: 109.6 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3689, allocations: 8.031 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3689, allocations: 0 / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3689, allocations: 4 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.369, allocations: 15.98 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.369, allocations: 0 / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.3691, allocations: 19.92 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3691, allocations: 4 kB / 0.5665 GB, free: 14.27 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 (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 prepare postOptimizeDAE: time 0.000102/0.3692, allocations: 117.8 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.3693, allocations: 11.95 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.3696, allocations: 122.3 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3696, allocations: 4 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3696, allocations: 0 / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3696, allocations: 3.938 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.3702, allocations: 369.9 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3702, allocations: 4 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.722e-05/0.3703, allocations: 15.98 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3703, allocations: 0 / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3703, allocations: 11.92 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3703, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3703, allocations: 4.016 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.3707, allocations: 223.7 kB / 0.5673 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.3707, allocations: 11.94 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3707, allocations: 7.938 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3708, allocations: 7.984 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.3708, allocations: 7.984 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3708, allocations: 0 / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3709, allocations: 133.4 kB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3709, allocations: 0 / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.3712, allocations: 39.86 kB / 0.5675 GB, free: 13.11 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.002234/0.3735, allocations: 1.139 MB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3738, allocations: 71.92 kB / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3738, allocations: 0 / 0.5687 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3739, allocations: 43.91 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3742, allocations: 18.17 kB / 0.5687 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3763, allocations: 1.585 MB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3766, allocations: 0.7002 MB / 0.571 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.3767, allocations: 16.67 kB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.3768, allocations: 31.41 kB / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3768, allocations: 0 / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.4075, allocations: 3.695 MB / 0.5746 GB, free: 5.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 7.922 kB / 0.5746 GB, free: 5.895 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.787757810205221]