Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.00125/0.00125, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001463/0.001463, allocations: 207.7 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2259/0.2259, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003084/0.33, allocations: 1.605 MB / 0.5622 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3311, allocations: 0.5105 MB / 0.5627 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.3311, allocations: 0 / 0.5627 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.3318, allocations: 451.2 kB / 0.5631 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.3322, allocations: 299.3 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.3326, allocations: 127.2 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.3328, allocations: 163.7 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.3329, allocations: 8.172 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3331, allocations: 115.7 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.3334, allocations: 247.5 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3334, allocations: 0 / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.3334, allocations: 23.98 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3336, allocations: 80.67 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.3336, allocations: 71.25 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.334, allocations: 268.4 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.334, allocations: 0 / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.334, allocations: 0 / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.334, allocations: 0 / 0.5644 GB, free: 320 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008376/0.3348, allocations: 0.5776 MB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3349, allocations: 12.03 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.3349, allocations: 30.75 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.335, allocations: 52.61 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3353, allocations: 242.8 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3353, allocations: 4.375 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3353, allocations: 12.12 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3354, allocations: 49.62 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3354, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3354, allocations: 3.984 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3355, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.3355, allocations: 19.98 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.336, allocations: 343.9 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.3361, allocations: 34.52 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.3362, allocations: 20.91 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3362, allocations: 3.938 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3362, allocations: 30.56 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3362, allocations: 0 / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000285/0.3365, allocations: 97.39 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3365, allocations: 59.34 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.3374, allocations: 0.8699 MB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3374, allocations: 25.7 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3376, allocations: 228 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3376, allocations: 8.078 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.3377, allocations: 21.7 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3378, allocations: 358.7 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.3379, allocations: 11.98 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.3379, allocations: 8 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.338, allocations: 24.84 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.338, allocations: 0 / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001491/0.3381, allocations: 93.47 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3382, allocations: 4 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3382, allocations: 3.938 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3382, allocations: 3.984 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.3382, allocations: 8 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3383, allocations: 0 / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.3383, allocations: 7.875 kB / 0.5676 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3383, allocations: 7.938 kB / 0.5676 GB, free: 12.87 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 (2): * Single equations (assignments): 2 * 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.0001888/0.3385, allocations: 205.8 kB / 0.5678 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.3386, allocations: 47.72 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3388, allocations: 104.9 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3388, allocations: 0 / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3388, allocations: 0 / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3388, allocations: 0 / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.3391, allocations: 256.6 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3391, allocations: 0 / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.3391, allocations: 7.938 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3391, allocations: 0 / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3391, allocations: 8 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3391, allocations: 0 / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3391, allocations: 8.031 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.3393, allocations: 187.2 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.3394, allocations: 39.67 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3394, allocations: 0 / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.3395, allocations: 7.984 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.3395, allocations: 7.984 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.3395, allocations: 0 / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006705/0.3402, allocations: 0.6666 MB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3405, allocations: 20.03 kB / 0.5691 GB, free: 11.25 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 (2): * Single equations (assignments): 2 * 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.001826/0.3423, allocations: 0.9851 MB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3424, allocations: 27.98 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3424, allocations: 0 / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.3425, allocations: 11.92 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3429, allocations: 26.3 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.3467, allocations: 3.156 MB / 0.5732 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3469, allocations: 219.5 kB / 0.5734 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.347, allocations: 11.81 kB / 0.5734 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3471, allocations: 115.4 kB / 0.5736 GB, free: 6.715 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3471, allocations: 0 / 0.5736 GB, free: 6.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.3815, allocations: 6.293 MB / 0.5797 GB, free: 492 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 11.39 kB / 0.5797 GB, free: 484 kB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.165656900004251]