Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001299/0.001299, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001473/0.001473, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.572/1.572, 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.2286/0.2286, allocations: 44.92 MB / 358.8 MB, free: 6.387 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002514/0.002514, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3378, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004065/0.3418, allocations: 2.047 MB / 0.559 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3444, allocations: 1.384 MB / 0.5604 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.3446, allocations: 3.938 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3449, allocations: 59.5 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.3455, allocations: 211.2 kB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.347, allocations: 0.6026 MB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.3475, allocations: 323.1 kB / 0.5616 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3477, allocations: 56.78 kB / 0.5616 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.348, allocations: 143.4 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.3483, allocations: 207.2 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.3484, allocations: 12 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3485, allocations: 59.98 kB / 0.562 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3487, allocations: 155.5 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3489, allocations: 174.6 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.3495, allocations: 419.8 kB / 0.5627 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3495, allocations: 0 / 0.5627 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3495, allocations: 4 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3495, allocations: 0 / 0.5627 GB, free: 1.953 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001242/0.3507, allocations: 0.7562 MB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3508, allocations: 16.02 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.3508, allocations: 42.75 kB / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.3512, allocations: 80.48 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.3519, allocations: 427.1 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3519, allocations: 12.38 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.352, allocations: 11.94 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3523, allocations: 143 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3523, allocations: 3.938 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3523, allocations: 8 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3523, allocations: 0 / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3525, allocations: 95.92 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3537, allocations: 0.6792 MB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3539, allocations: 109.2 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.354, allocations: 49.81 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3541, allocations: 7.938 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3541, allocations: 34.56 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3541, allocations: 3.938 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001487/0.3556, allocations: 0.5624 MB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3556, allocations: 85.03 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3568, allocations: 0.926 MB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3568, allocations: 29.7 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3571, allocations: 276.3 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.3571, allocations: 55.47 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.3572, allocations: 37.7 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3573, allocations: 325.9 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.3575, allocations: 59.95 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3577, allocations: 77.86 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.3581, allocations: 161.8 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3581, allocations: 4 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005005/0.3586, allocations: 249.1 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3586, allocations: 4 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3586, allocations: 0 / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3586, allocations: 4 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3588, allocations: 43.91 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3588, allocations: 0 / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.359, allocations: 11.98 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.359, allocations: 8 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002341/0.3592, allocations: 217.7 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3593, allocations: 59.58 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.3599, allocations: 298.8 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3599, allocations: 0 / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3599, allocations: 4 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3599, allocations: 112 / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3612, allocations: 0.8009 MB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3612, allocations: 0 / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3614, allocations: 39.91 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3614, allocations: 0 / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3614, allocations: 11.98 kB / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3614, allocations: 3.938 kB / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3614, allocations: 0 / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.362, allocations: 429.2 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3622, allocations: 79.59 kB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.3622, allocations: 4 kB / 0.5698 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3624, allocations: 15.92 kB / 0.5698 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.3625, allocations: 15.97 kB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3625, allocations: 8 kB / 0.5699 GB, free: 10.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008217/0.3633, allocations: 0.6825 MB / 0.5705 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3633, allocations: 0 / 0.5705 GB, free: 9.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000374/0.3637, allocations: 55.92 kB / 0.5706 GB, free: 9.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002341/0.366, allocations: 1.259 MB / 0.5718 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.3665, allocations: 151.8 kB / 0.572 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3665, allocations: 0 / 0.572 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.3667, allocations: 87.88 kB / 0.572 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.3673, allocations: 89.47 kB / 0.5721 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.3745, allocations: 5.193 MB / 0.5772 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.3751, allocations: 0.8808 MB / 0.5781 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.3754, allocations: 95.2 kB / 0.5782 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.3756, allocations: 179.4 kB / 0.5783 GB, free: 1.672 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3756, allocations: 0 / 0.5783 GB, free: 1.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.4174, allocations: 10.37 MB / 0.5885 GB, free: 7.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.33, allocations: 0 / 0.5885 GB, free: 7.375 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.496310347924009]