Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001759/0.001759, allocations: 113.1 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.002272/0.002272, allocations: 214.4 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.49/1.49, 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.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.2789/0.2789, allocations: 46.92 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 66.05 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003186/0.3384, allocations: 1.668 MB / 0.5623 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3395, allocations: 0.6049 MB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.3396, allocations: 0 / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.3402, allocations: 455.1 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.3407, allocations: 295.3 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.3412, allocations: 175.3 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.3415, allocations: 175.6 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3416, allocations: 17.81 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3417, allocations: 123.6 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.342, allocations: 247.5 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.342, allocations: 4 kB / 0.5643 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.3421, allocations: 39.98 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3422, allocations: 87.67 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3423, allocations: 106.9 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.3427, allocations: 270.5 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3427, allocations: 0 / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3427, allocations: 4 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3427, allocations: 0 / 0.5648 GB, free: 200 kB / 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.0008263/0.3435, allocations: 0.6009 MB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3436, allocations: 12.03 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3436, allocations: 30.75 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.3437, allocations: 44.66 kB / 0.5655 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.344, allocations: 254.8 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.344, allocations: 4.375 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.344, allocations: 8.312 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3442, allocations: 65.55 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3442, allocations: 4 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3442, allocations: 4 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3442, allocations: 3.984 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3444, allocations: 39.97 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.345, allocations: 375.8 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3451, allocations: 50.48 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3452, allocations: 24.94 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3452, allocations: 8.062 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3452, allocations: 30.56 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3452, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000878/0.3461, allocations: 324.5 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3461, allocations: 51.41 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.347, allocations: 0.8737 MB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.347, allocations: 29.7 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3472, allocations: 220 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3473, allocations: 23.8 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3473, allocations: 25.7 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3475, allocations: 358.8 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3476, allocations: 39.91 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3477, allocations: 39.95 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.348, allocations: 96.73 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.348, allocations: 0 / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003221/0.3483, allocations: 161.3 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3483, allocations: 6.656 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3483, allocations: 4 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3483, allocations: 0 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3485, allocations: 19.98 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3485, allocations: 4 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.3486, allocations: 15.92 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3486, allocations: 4 kB / 0.5685 GB, free: 12.19 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.0002128/0.3488, allocations: 217.7 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.3488, allocations: 43.72 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.3493, allocations: 181.8 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3493, allocations: 4 kB / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3493, allocations: 0 / 0.5689 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3493, allocations: 7.922 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.35, allocations: 489.4 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.35, allocations: 0 / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.657e-05/0.3501, allocations: 23.98 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3501, allocations: 0 / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3501, allocations: 11.88 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3501, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3501, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.3505, allocations: 263.1 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.3505, allocations: 43.7 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3506, allocations: 3.938 kB / 0.5698 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3507, allocations: 15.98 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3507, allocations: 0 / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3507, allocations: 4 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006856/0.3514, allocations: 0.6589 MB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 3.938 kB / 0.5704 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3517, allocations: 20 kB / 0.5704 GB, free: 10.13 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.002135/0.3538, allocations: 1.105 MB / 0.5715 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.3541, allocations: 91.92 kB / 0.5716 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3541, allocations: 0 / 0.5716 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3542, allocations: 47.95 kB / 0.5717 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3547, allocations: 30.23 kB / 0.5717 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.3589, allocations: 3.379 MB / 0.575 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3594, allocations: 0.8299 MB / 0.5758 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.3595, allocations: 24.64 kB / 0.5758 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3596, allocations: 119.4 kB / 0.5759 GB, free: 4.527 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3596, allocations: 0 / 0.5759 GB, free: 4.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3933, allocations: 6.443 MB / 0.5822 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 8.062 kB / 0.5822 GB, free: 14.15 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 15.10242888214998]