Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001764/0.001764, 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.002138/0.002138, allocations: 205.9 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.47/1.47, 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.2281/0.2281, allocations: 46.95 MB / 360.9 MB, free: 4.008 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.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.86 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3275, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002964/0.3305, allocations: 1.612 MB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3324, allocations: 1.248 MB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3324, allocations: 4 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.3327, allocations: 27.8 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.333, allocations: 87.61 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3333, allocations: 111.3 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3334, allocations: 83.77 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3335, allocations: 21.8 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.3336, allocations: 27.92 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3337, allocations: 43.77 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3337, allocations: 4 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3338, allocations: 91.89 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.3339, allocations: 23.92 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3339, allocations: 19.86 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3342, allocations: 151.5 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3342, allocations: 0 / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3342, allocations: 0 / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3342, allocations: 0 / 0.5641 GB, free: 0.6758 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004845/0.3347, allocations: 349.5 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3347, allocations: 8.031 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.3347, allocations: 38.75 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3348, allocations: 12.83 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.335, allocations: 138.4 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.335, allocations: 384 / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.335, allocations: 4.375 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3352, allocations: 113 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.3353, allocations: 3.953 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3353, allocations: 0 / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3353, allocations: 4 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3354, allocations: 35.97 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.3359, allocations: 283.8 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.336, allocations: 50.55 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.3361, allocations: 20.98 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3361, allocations: 3.938 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.3361, allocations: 34.55 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3361, allocations: 0 / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006558/0.3368, allocations: 201.4 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3368, allocations: 81.09 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.337, allocations: 160 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.337, allocations: 25.7 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.3371, allocations: 100.1 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.3371, allocations: 27.75 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3371, allocations: 25.7 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3373, allocations: 314.8 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3374, allocations: 35.97 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3375, allocations: 75.45 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3376, allocations: 68.97 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3376, allocations: 4 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002268/0.3379, allocations: 101.6 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3379, allocations: 7.984 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3379, allocations: 4.031 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3379, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.338, allocations: 19.92 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.338, allocations: 3.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.338, allocations: 8 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3381, allocations: 7.938 kB / 0.5663 GB, free: 14.12 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.443e-05/0.3381, allocations: 117.8 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3382, allocations: 11.91 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.3385, allocations: 130.3 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3385, allocations: 0 / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3385, allocations: 3.938 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3385, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.339, allocations: 361.6 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.339, allocations: 0 / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.3391, allocations: 23.86 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3391, allocations: 0 / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3391, allocations: 8.375 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3391, allocations: 4.234 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3391, allocations: 3.984 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3394, allocations: 207.4 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.3394, allocations: 15.89 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3394, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.3395, allocations: 7.984 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3395, allocations: 7.984 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3396, allocations: 3.984 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3397, allocations: 125.9 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3397, allocations: 4 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.34, allocations: 39.86 kB / 0.5674 GB, free: 12.98 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 (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.002285/0.3423, allocations: 1.16 MB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.3425, allocations: 75.88 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3425, allocations: 0 / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.3426, allocations: 36.12 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3429, allocations: 30.83 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3449, allocations: 1.55 MB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.3449, allocations: 79.67 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.345, allocations: 28.56 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.3451, allocations: 35.41 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3451, allocations: 0 / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.3782, allocations: 4.096 MB / 0.5743 GB, free: 6.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.23, allocations: 7.625 kB / 0.5743 GB, free: 6.016 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.218556635983987]