Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001443/0.001443, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001717/0.001717, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.051 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.2271/0.2271, allocations: 44.91 MB / 358.8 MB, free: 6.34 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002093/0.002093, allocations: 71.89 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 65.47 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003178/0.332, allocations: 1.679 MB / 0.5587 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.334, allocations: 1.294 MB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.3341, allocations: 3.938 kB / 0.5599 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3343, allocations: 27.84 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.3346, allocations: 83.62 kB / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3351, allocations: 183 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3353, allocations: 83.7 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.3354, allocations: 9.828 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.3354, allocations: 39.78 kB / 0.5604 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3356, allocations: 35.84 kB / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3356, allocations: 7.984 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3358, allocations: 99.88 kB / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.3358, allocations: 31.91 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.3359, allocations: 23.81 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3361, allocations: 159.4 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3361, allocations: 0 / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3361, allocations: 0 / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3362, allocations: 0 / 0.5607 GB, free: 4.062 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.0005481/0.3367, allocations: 351.8 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3367, allocations: 8.031 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.3368, allocations: 42.67 kB / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.3368, allocations: 16.89 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.337, allocations: 134.4 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.337, allocations: 8.375 kB / 0.5612 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.337, allocations: 384 / 0.5612 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3372, allocations: 79.31 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3372, allocations: 0 / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3373, allocations: 4 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3373, allocations: 0 / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3374, allocations: 51.89 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.3379, allocations: 279.8 kB / 0.5616 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.338, allocations: 38.56 kB / 0.5617 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.3381, allocations: 28.94 kB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3381, allocations: 11.98 kB / 0.5617 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3381, allocations: 34.5 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3381, allocations: 0 / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007961/0.3389, allocations: 233.3 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.339, allocations: 81.11 kB / 0.562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3392, allocations: 160.3 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3392, allocations: 25.7 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.3392, allocations: 104.1 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3393, allocations: 23.8 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3393, allocations: 21.7 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3395, allocations: 322.8 kB / 0.5627 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3396, allocations: 35.95 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3397, allocations: 57.69 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.34, allocations: 88.8 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.34, allocations: 4.031 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.3403, allocations: 129.5 kB / 0.563 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3403, allocations: 4 kB / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3403, allocations: 288 / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3403, allocations: 0 / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3404, allocations: 23.97 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3404, allocations: 4 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.3405, allocations: 19.94 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3405, allocations: 0 / 0.563 GB, free: 1.477 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 (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.0001089/0.3406, allocations: 125.8 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3407, allocations: 15.89 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.341, allocations: 142.2 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.341, allocations: 4 kB / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.341, allocations: 0 / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.341, allocations: 3.938 kB / 0.5633 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.3417, allocations: 389.5 kB / 0.5637 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3417, allocations: 0 / 0.5637 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.3417, allocations: 19.92 kB / 0.5637 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3417, allocations: 4 kB / 0.5637 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3418, allocations: 7.938 kB / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3418, allocations: 0 / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3418, allocations: 0 / 0.5637 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3421, allocations: 219.8 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.3421, allocations: 15.94 kB / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3422, allocations: 7.938 kB / 0.5639 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3423, allocations: 11.98 kB / 0.5639 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3423, allocations: 11.98 kB / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3423, allocations: 0 / 0.564 GB, free: 440 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3424, allocations: 115.2 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3424, allocations: 4 kB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3427, allocations: 43.75 kB / 0.5641 GB, free: 276 kB / 398.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.002302/0.345, allocations: 1.15 MB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.3454, allocations: 87.86 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3454, allocations: 4 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3455, allocations: 43.97 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3458, allocations: 28.98 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3481, allocations: 1.656 MB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.3485, allocations: 0.7005 MB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.3486, allocations: 28.41 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.3487, allocations: 35.42 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3487, allocations: 0 / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.3799, allocations: 3.776 MB / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 4.062 kB / 0.5714 GB, free: 8.848 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.598133621038869]