Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001362/0.001362, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001429/0.001429, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2378/0.2378, allocations: 46.96 MB / 360.9 MB, free: 4.176 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3563, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002888/0.3592, allocations: 1.609 MB / 0.5622 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3603, allocations: 0.5426 MB / 0.5627 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.3604, allocations: 4 kB / 0.5627 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3605, allocations: 19.86 kB / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3607, allocations: 83.61 kB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.361, allocations: 123.3 kB / 0.5629 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3611, allocations: 67.78 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.3612, allocations: 17.8 kB / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.3612, allocations: 27.92 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.3613, allocations: 27.84 kB / 0.5631 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3613, allocations: 4 kB / 0.5631 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3615, allocations: 95.89 kB / 0.5632 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.3615, allocations: 23.91 kB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3616, allocations: 19.88 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3618, allocations: 143.5 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3618, allocations: 4 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3618, allocations: 0 / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.3618, allocations: 0 / 0.5633 GB, free: 1.473 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004095/0.3622, allocations: 333.6 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.3622, allocations: 12.03 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3623, allocations: 34.73 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3623, allocations: 8.891 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3625, allocations: 134.4 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3625, allocations: 4.375 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3625, allocations: 4.312 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3627, allocations: 97.03 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3627, allocations: 3.938 kB / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.3627, allocations: 0 / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-06/0.3627, allocations: 0 / 0.5639 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.3628, allocations: 31.95 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3632, allocations: 260 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3633, allocations: 54.48 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.3633, allocations: 24.94 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3633, allocations: 3.938 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3634, allocations: 34.56 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3634, allocations: 0 / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005631/0.3639, allocations: 177.3 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.364, allocations: 85.11 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.3641, allocations: 156.5 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3642, allocations: 25.7 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.3642, allocations: 96.12 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3642, allocations: 19.8 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3643, allocations: 29.7 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3644, allocations: 322.8 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.3645, allocations: 27.97 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3646, allocations: 71.39 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3648, allocations: 76.78 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3648, allocations: 0 / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002351/0.365, allocations: 113.6 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.365, allocations: 4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.365, allocations: 0 / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.365, allocations: 4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3652, allocations: 19.98 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.3652, allocations: 0 / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.3652, allocations: 11.94 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3652, allocations: 0 / 0.5655 GB, free: 15.02 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 (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 9.394e-05/0.3653, allocations: 125.8 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3653, allocations: 7.953 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.3656, allocations: 110.7 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3656, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3656, allocations: 3.938 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3656, allocations: 7.938 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.3661, allocations: 361.5 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3661, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.3662, allocations: 15.98 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3662, allocations: 3.938 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3662, allocations: 4 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3662, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3662, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3665, allocations: 195.4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.3665, allocations: 11.95 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3665, allocations: 7.922 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.3666, allocations: 8 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.3666, allocations: 7.984 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3666, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3667, allocations: 115.2 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3667, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000291/0.367, allocations: 43.86 kB / 0.5665 GB, free: 13.92 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.002288/0.3693, allocations: 1.168 MB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3695, allocations: 71.94 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3695, allocations: 0 / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.3696, allocations: 39.86 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3699, allocations: 15.98 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3717, allocations: 1.53 MB / 0.5693 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.256e-05/0.3718, allocations: 79.31 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.3719, allocations: 29.09 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.372, allocations: 31.42 kB / 0.5694 GB, free: 11.06 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.372, allocations: 4 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.402, allocations: 4.155 MB / 0.5735 GB, free: 6.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.25, allocations: 10.78 kB / 0.5735 GB, free: 6.914 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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: 14.31979141201009]