Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001432/0.001432, allocations: 105.1 kB / 21.22 MB, free: 492 kB / 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: 206 kB / 24.51 MB, free: 3.652 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.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 44.93 MB / 359.6 MB, free: 6.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 75.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003148/0.325, allocations: 1.606 MB / 0.5593 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.326, allocations: 0.5427 MB / 0.5598 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.3261, allocations: 0 / 0.5598 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3264, allocations: 87.69 kB / 0.5599 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.3267, allocations: 111.6 kB / 0.56 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.327, allocations: 123.3 kB / 0.5602 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3272, allocations: 91.73 kB / 0.5602 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3274, allocations: 8 kB / 0.5602 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.3274, allocations: 35.89 kB / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3276, allocations: 67.75 kB / 0.5603 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3276, allocations: 7.984 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3277, allocations: 47.92 kB / 0.5604 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.3277, allocations: 19.92 kB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.3278, allocations: 23.81 kB / 0.5604 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.328, allocations: 119.4 kB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.328, allocations: 0 / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.328, allocations: 3.938 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.328, allocations: 0 / 0.5606 GB, free: 4.621 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.0005292/0.3285, allocations: 349.5 kB / 0.5609 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3286, allocations: 12.03 kB / 0.5609 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3286, allocations: 4.172 kB / 0.5609 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.3286, allocations: 30.75 kB / 0.5609 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3287, allocations: 16.84 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.3289, allocations: 138.9 kB / 0.5611 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.3289, allocations: 8.375 kB / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.3289, allocations: 16.06 kB / 0.5611 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3291, allocations: 49.69 kB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3291, allocations: 3.984 kB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3291, allocations: 4 kB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3291, allocations: 0 / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.3292, allocations: 27.92 kB / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.3296, allocations: 271.8 kB / 0.5614 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3297, allocations: 54.44 kB / 0.5615 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.3298, allocations: 24.94 kB / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3298, allocations: 0 / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3299, allocations: 34.56 kB / 0.5616 GB, free: 3.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3299, allocations: 0 / 0.5616 GB, free: 3.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009589/0.3308, allocations: 241.2 kB / 0.5618 GB, free: 3.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3309, allocations: 55.34 kB / 0.5618 GB, free: 3.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3311, allocations: 230.8 kB / 0.5621 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3312, allocations: 25.7 kB / 0.5621 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.3312, allocations: 112.1 kB / 0.5622 GB, free: 2.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3313, allocations: 27.8 kB / 0.5622 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3313, allocations: 21.72 kB / 0.5622 GB, free: 2.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3315, allocations: 326.8 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.3316, allocations: 36.03 kB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.3317, allocations: 27.98 kB / 0.5626 GB, free: 2.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3318, allocations: 80.97 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3318, allocations: 0 / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.3321, allocations: 113.6 kB / 0.5628 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3321, allocations: 8 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3321, allocations: 0 / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3321, allocations: 0 / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3322, allocations: 15.98 kB / 0.5628 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3322, allocations: 11.94 kB / 0.5628 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.3323, allocations: 7.922 kB / 0.5628 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3323, allocations: 4 kB / 0.5628 GB, free: 2.078 MB / 398.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.0001153/0.3324, allocations: 133.8 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3324, allocations: 15.89 kB / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.3328, allocations: 135 kB / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3328, allocations: 0 / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3328, allocations: 3.938 kB / 0.5631 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3328, allocations: 7.984 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.3333, allocations: 386.3 kB / 0.5635 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3333, allocations: 4.359 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.3334, allocations: 19.92 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3334, allocations: 0 / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3334, allocations: 4 kB / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3335, allocations: 0 / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3335, allocations: 0 / 0.5635 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3338, allocations: 224.3 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.3338, allocations: 15.88 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3338, allocations: 0 / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.3339, allocations: 8 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3339, allocations: 7.984 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3339, allocations: 3.938 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.3341, allocations: 180.3 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3343, allocations: 23.95 kB / 0.564 GB, free: 0.8359 MB / 398.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.002511/0.3369, allocations: 1.132 MB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3371, allocations: 71.89 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3371, allocations: 4 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.3372, allocations: 39.91 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3376, allocations: 34.8 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3397, allocations: 1.758 MB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3398, allocations: 100.6 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.3399, allocations: 20.95 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.34, allocations: 35.42 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.34, allocations: 4 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.363, allocations: 3.48 MB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.89, allocations: 8 kB / 0.5705 GB, free: 10.31 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.088422906002961]