Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001487/0.001487, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2701/0.2701, allocations: 44.93 MB / 358.8 MB, free: 6.129 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.002234/0.002234, allocations: 70.25 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3286, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003099/0.3317, allocations: 1.644 MB / 0.5586 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3328, allocations: 0.5426 MB / 0.5591 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3329, allocations: 0 / 0.5591 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.3335, allocations: 451.1 kB / 0.5595 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.334, allocations: 303.3 kB / 0.5598 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.3343, allocations: 131.1 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3346, allocations: 179.6 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.3347, allocations: 13.81 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3348, allocations: 115.7 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.3351, allocations: 247.5 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3351, allocations: 4 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.3352, allocations: 32 kB / 0.5605 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3353, allocations: 91.61 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.3354, allocations: 71.23 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3357, allocations: 274.6 kB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3357, allocations: 4 kB / 0.561 GB, free: 3.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3357, allocations: 0 / 0.561 GB, free: 3.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3357, allocations: 0 / 0.561 GB, free: 3.445 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.0008267/0.3366, allocations: 0.5931 MB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3366, allocations: 8.031 kB / 0.5615 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3367, allocations: 38.73 kB / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.3367, allocations: 44.66 kB / 0.5616 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.337, allocations: 250.7 kB / 0.5619 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.337, allocations: 384 / 0.5619 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.337, allocations: 8.375 kB / 0.5619 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3372, allocations: 65.59 kB / 0.5619 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3372, allocations: 3.938 kB / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3372, allocations: 0 / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3372, allocations: 0 / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3374, allocations: 35.97 kB / 0.562 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.3378, allocations: 359.7 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.338, allocations: 42.56 kB / 0.5623 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.338, allocations: 24.94 kB / 0.5624 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.338, allocations: 0 / 0.5624 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3381, allocations: 38.56 kB / 0.5624 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3381, allocations: 0 / 0.5624 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008397/0.3389, allocations: 300.9 kB / 0.5627 GB, free: 1.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.339, allocations: 51.41 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.34, allocations: 0.8736 MB / 0.5636 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.34, allocations: 33.7 kB / 0.5636 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3402, allocations: 212.1 kB / 0.5638 GB, free: 324 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3403, allocations: 27.73 kB / 0.5639 GB, free: 296 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3403, allocations: 25.66 kB / 0.5639 GB, free: 264 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3405, allocations: 358.8 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.3406, allocations: 35.97 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3408, allocations: 35.97 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.341, allocations: 72.81 kB / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.341, allocations: 0 / 0.5644 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003162/0.3413, allocations: 149.3 kB / 0.5645 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3413, allocations: 10.97 kB / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3413, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3413, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3415, allocations: 23.92 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3415, allocations: 3.984 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.3416, allocations: 15.88 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3416, allocations: 0 / 0.5646 GB, free: 15.55 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 (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 prepare postOptimizeDAE: time 0.0002161/0.3418, allocations: 213.8 kB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.3418, allocations: 43.72 kB / 0.5648 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.3423, allocations: 173.5 kB / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3423, allocations: 0 / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3423, allocations: 0 / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3423, allocations: 7.875 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.343, allocations: 469.8 kB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.343, allocations: 4 kB / 0.5654 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.3431, allocations: 23.97 kB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3431, allocations: 4 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3431, allocations: 7.938 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3431, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3431, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3435, allocations: 243.2 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.3436, allocations: 39.7 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3436, allocations: 7.938 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3437, allocations: 11.98 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3437, allocations: 4 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3437, allocations: 4 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006996/0.3444, allocations: 0.655 MB / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3444, allocations: 0 / 0.5664 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3447, allocations: 20 kB / 0.5664 GB, free: 13.55 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.002142/0.3468, allocations: 1.124 MB / 0.5675 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.3471, allocations: 71.94 kB / 0.5676 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3471, allocations: 0 / 0.5676 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3472, allocations: 39.91 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3477, allocations: 33.39 kB / 0.5677 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.3518, allocations: 3.315 MB / 0.5709 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.352, allocations: 224.1 kB / 0.5711 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.3521, allocations: 16.95 kB / 0.5711 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3522, allocations: 111.3 kB / 0.5712 GB, free: 8.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3522, allocations: 0 / 0.5712 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3859, allocations: 6.7 MB / 0.5778 GB, free: 2.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.81, allocations: 9.031 kB / 0.5778 GB, free: 2.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.908147937152535]