Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001324/0.001324, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00209/0.00209, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2304/0.2304, allocations: 44.91 MB / 358.8 MB, free: 6.328 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",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.002701/0.002701, allocations: 75.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3303, allocations: 65.46 MB / 0.557 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003248/0.3336, allocations: 1.713 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3347, allocations: 0.605 MB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.3348, allocations: 0 / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.3354, allocations: 455.1 kB / 0.5597 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.3359, allocations: 295.3 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.3364, allocations: 175.3 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3366, allocations: 191.6 kB / 0.5604 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3367, allocations: 18.05 kB / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3369, allocations: 111.7 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.3372, allocations: 263.4 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3372, allocations: 4 kB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3373, allocations: 51.97 kB / 0.5608 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3375, allocations: 87.69 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3376, allocations: 114.9 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.338, allocations: 294.5 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.338, allocations: 0 / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.338, allocations: 3.938 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.338, allocations: 0 / 0.5613 GB, free: 3.465 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.0008679/0.3388, allocations: 0.597 MB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3389, allocations: 8.031 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.3389, allocations: 42.73 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.339, allocations: 40.66 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.3393, allocations: 254.8 kB / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3393, allocations: 384 / 0.5622 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.3393, allocations: 12.33 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3395, allocations: 73.53 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3396, allocations: 0 / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3396, allocations: 0 / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3396, allocations: 0 / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3397, allocations: 43.97 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.3404, allocations: 395.7 kB / 0.5627 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3406, allocations: 54.55 kB / 0.5627 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3407, allocations: 24.97 kB / 0.5628 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3407, allocations: 4 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3408, allocations: 38.66 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3408, allocations: 3.938 kB / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001616/0.3424, allocations: 0.5006 MB / 0.5633 GB, free: 1.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3424, allocations: 59.34 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.3434, allocations: 0.8737 MB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3434, allocations: 25.7 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3436, allocations: 220.1 kB / 0.5644 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3436, allocations: 43.67 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.3437, allocations: 21.77 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.3439, allocations: 362.7 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3441, allocations: 55.95 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3442, allocations: 55.97 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3445, allocations: 124.7 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3445, allocations: 0 / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003841/0.3449, allocations: 213.5 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3449, allocations: 4 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3449, allocations: 0 / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3449, allocations: 3.938 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3451, allocations: 27.97 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3451, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.3452, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3452, allocations: 7.984 kB / 0.5653 GB, free: 15.11 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 (11): * Single equations (assignments): 11 * 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.000217/0.3454, allocations: 225.7 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.3455, allocations: 47.66 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.3459, allocations: 229.4 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3459, allocations: 3.938 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3459, allocations: 0 / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.346, allocations: 3.984 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.3469, allocations: 0.5693 MB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3469, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.347, allocations: 27.97 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.347, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.347, allocations: 11.94 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.347, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.347, allocations: 8.062 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.3474, allocations: 304.7 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3475, allocations: 39.7 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3475, allocations: 8.094 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3476, allocations: 11.94 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3477, allocations: 15.91 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3477, allocations: 8.125 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006956/0.3484, allocations: 0.6511 MB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000297/0.3487, allocations: 39.92 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002414/0.3511, allocations: 1.201 MB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3515, allocations: 127.8 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3515, allocations: 0 / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.3516, allocations: 67.89 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3521, allocations: 29.3 kB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.3568, allocations: 3.56 MB / 0.5723 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3573, allocations: 0.8379 MB / 0.5731 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3574, allocations: 32.47 kB / 0.5732 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3576, allocations: 131.3 kB / 0.5733 GB, free: 6.879 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3576, allocations: 0 / 0.5733 GB, free: 6.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.3943, allocations: 6.898 MB / 0.58 GB, free: 56 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.17, allocations: 4 kB / 0.58 GB, free: 52 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.317674965132028]