Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.001341/0.001341, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001581/0.001581, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2299/0.2299, allocations: 46.96 MB / 361.7 MB, free: 4.012 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 59.91 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 66.04 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003332/0.3295, allocations: 1.691 MB / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3306, allocations: 0.5661 MB / 0.5636 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.3306, allocations: 7.938 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3308, allocations: 23.84 kB / 0.5636 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.3311, allocations: 91.55 kB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.3316, allocations: 183.3 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3318, allocations: 99.69 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3319, allocations: 17.8 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.332, allocations: 43.84 kB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.3321, allocations: 39.84 kB / 0.5641 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3321, allocations: 8 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3323, allocations: 103.9 kB / 0.5642 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.3323, allocations: 23.91 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.3324, allocations: 31.8 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.3327, allocations: 171.4 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3327, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3327, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3327, allocations: 0 / 0.5644 GB, free: 1.105 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.0006884/0.3334, allocations: 381.3 kB / 0.5647 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3335, allocations: 8.031 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.294e-05/0.3335, allocations: 8.188 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3335, allocations: 30.75 kB / 0.5648 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.3335, allocations: 8.891 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3338, allocations: 152 kB / 0.5649 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3338, allocations: 4.359 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3338, allocations: 12.12 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.3341, allocations: 121 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3341, allocations: 3.938 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3341, allocations: 0 / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3341, allocations: 0 / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.3344, allocations: 71.92 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.335, allocations: 307.8 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.3353, allocations: 78.45 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3355, allocations: 52.88 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3355, allocations: 4 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3355, allocations: 30.56 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3355, allocations: 0 / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001658/0.3372, allocations: 409.1 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.3372, allocations: 81.11 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3374, allocations: 166.1 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3375, allocations: 33.64 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3375, allocations: 108.1 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3376, allocations: 31.73 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3376, allocations: 25.72 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3378, allocations: 322.8 kB / 0.5667 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.3381, allocations: 79.91 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3384, allocations: 123.3 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.3389, allocations: 160.7 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3389, allocations: 3.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006616/0.3396, allocations: 213.7 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3396, allocations: 8 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3396, allocations: 3.984 kB / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3396, allocations: 0 / 0.5673 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.3399, allocations: 43.91 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3399, allocations: 3.938 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.34, allocations: 32.27 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.34, allocations: 8 kB / 0.5674 GB, free: 13.81 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 (10): * Single equations (assignments): 10 * 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.0001134/0.3402, allocations: 117.8 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.3402, allocations: 7.953 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007005/0.3409, allocations: 226.1 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3409, allocations: 4 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3409, allocations: 7.938 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3409, allocations: 0 / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009816/0.3419, allocations: 481.4 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3419, allocations: 3.938 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.3421, allocations: 43.83 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3421, allocations: 0 / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3421, allocations: 0 / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3421, allocations: 8 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3421, allocations: 0 / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.3428, allocations: 295.6 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.3428, allocations: 19.92 kB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3428, allocations: 11.94 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.343, allocations: 23.97 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3431, allocations: 15.97 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3431, allocations: 4 kB / 0.5686 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3432, allocations: 120.1 kB / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 0.5687 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.3435, allocations: 51.86 kB / 0.5687 GB, free: 12.32 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 (9): * Single equations (assignments): 9 * 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.002803/0.3463, allocations: 1.271 MB / 0.57 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.3471, allocations: 179.8 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3471, allocations: 0 / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.3474, allocations: 87.84 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3478, allocations: 27.92 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.3511, allocations: 1.932 MB / 0.5722 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3512, allocations: 96.75 kB / 0.5723 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.3513, allocations: 32.44 kB / 0.5723 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3514, allocations: 35.42 kB / 0.5723 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3514, allocations: 8 kB / 0.5723 GB, free: 8.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.3772, allocations: 4.736 MB / 0.5769 GB, free: 4.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.02, allocations: 19.45 kB / 0.577 GB, free: 4.055 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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: 15.148331961012445]