Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001638/0.001638, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001998/0.001998, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2267/0.2267, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002991/0.3181, allocations: 1.613 MB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.3191, allocations: 0.527 MB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3192, allocations: 0 / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3194, allocations: 111.7 kB / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.3197, allocations: 119.6 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.32, allocations: 95.44 kB / 0.563 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3201, allocations: 87.81 kB / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3202, allocations: 25.73 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.3203, allocations: 35.91 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3204, allocations: 75.73 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3204, allocations: 4 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.3205, allocations: 47.97 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.3206, allocations: 27.86 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3206, allocations: 19.81 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3208, allocations: 119.4 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3208, allocations: 0 / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3208, allocations: 0 / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3208, allocations: 4 kB / 0.5634 GB, free: 1.324 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.0004851/0.3213, allocations: 361.4 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3214, allocations: 11.97 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.3214, allocations: 30.75 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3214, allocations: 12.89 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3216, allocations: 151.1 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3216, allocations: 8.375 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3217, allocations: 384 / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3218, allocations: 57.61 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3218, allocations: 7.953 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.3218, allocations: 4 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3218, allocations: 0 / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.3219, allocations: 27.92 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3223, allocations: 263.9 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3224, allocations: 42.56 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.3225, allocations: 24.88 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3225, allocations: 0 / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3225, allocations: 34.56 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3225, allocations: 0 / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008511/0.3234, allocations: 237.4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3234, allocations: 51.41 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.3237, allocations: 258.9 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3237, allocations: 29.64 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.3238, allocations: 112.1 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3238, allocations: 31.75 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.3239, allocations: 21.7 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.324, allocations: 330.8 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.3241, allocations: 19.98 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.3242, allocations: 23.98 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3243, allocations: 64.83 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3243, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.3245, allocations: 109.8 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3246, allocations: 8 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3246, allocations: 3.938 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3246, allocations: 0 / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3247, allocations: 15.98 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3247, allocations: 12 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.3247, allocations: 0 / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3247, allocations: 8 kB / 0.5657 GB, free: 14.8 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 0.0001123/0.3248, allocations: 129.8 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3249, allocations: 19.91 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3252, allocations: 123 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3252, allocations: 0 / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3252, allocations: 3.938 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3252, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.3257, allocations: 374.4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3257, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.3258, allocations: 27.89 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3258, allocations: 4 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3258, allocations: 4 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3258, allocations: 0 / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3258, allocations: 0 / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3261, allocations: 208.3 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.3261, allocations: 15.89 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3261, allocations: 0 / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3262, allocations: 11.98 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.3262, allocations: 8 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3262, allocations: 7.984 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3264, allocations: 191.2 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3267, allocations: 19.94 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002275/0.3289, allocations: 1.125 MB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3292, allocations: 71.88 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3292, allocations: 0 / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.3292, allocations: 31.92 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3296, allocations: 29.17 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3317, allocations: 1.753 MB / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3318, allocations: 101.8 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3319, allocations: 8.672 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.3319, allocations: 43.41 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3319, allocations: 0 / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3613, allocations: 3.832 MB / 0.5736 GB, free: 6.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.48, allocations: 8.047 kB / 0.5736 GB, free: 6.703 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.417609015945345]