Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001381/0.001381, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001468/0.001468, allocations: 218.7 kB / 24.52 MB, free: 3.91 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 / 258.3 MB, free: 7.773 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.2478/0.2478, allocations: 44.93 MB / 359.6 MB, free: 6.047 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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="cs",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.001942/0.001942, allocations: 63.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 65.47 MB / 0.5577 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003529/0.3358, allocations: 1.638 MB / 0.5593 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3369, allocations: 0.5466 MB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.337, allocations: 0 / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.3372, allocations: 35.78 kB / 0.5599 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.3375, allocations: 79.61 kB / 0.56 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.3379, allocations: 119.1 kB / 0.5601 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3381, allocations: 91.75 kB / 0.5602 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.3382, allocations: 29.8 kB / 0.5602 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.3383, allocations: 27.86 kB / 0.5602 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3384, allocations: 51.72 kB / 0.5603 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3384, allocations: 7.984 kB / 0.5603 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3385, allocations: 43.98 kB / 0.5603 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.3386, allocations: 23.92 kB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3386, allocations: 23.81 kB / 0.5604 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3389, allocations: 115.5 kB / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3389, allocations: 0 / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3389, allocations: 0 / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3389, allocations: 3.938 kB / 0.5605 GB, free: 4.668 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005476/0.3394, allocations: 337.7 kB / 0.5608 GB, free: 4.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3395, allocations: 16.03 kB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.745e-05/0.3395, allocations: 192 / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3395, allocations: 38.75 kB / 0.5609 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.3396, allocations: 20.83 kB / 0.5609 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3398, allocations: 134.4 kB / 0.561 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3398, allocations: 8.375 kB / 0.561 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3398, allocations: 8.125 kB / 0.561 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.34, allocations: 77.59 kB / 0.5611 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.34, allocations: 0 / 0.5611 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.34, allocations: 8 kB / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.34, allocations: 0 / 0.5611 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3401, allocations: 47.95 kB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.3406, allocations: 299.8 kB / 0.5615 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3408, allocations: 62.55 kB / 0.5615 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.3409, allocations: 20.84 kB / 0.5615 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3409, allocations: 4 kB / 0.5615 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3409, allocations: 30.56 kB / 0.5616 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3409, allocations: 0 / 0.5616 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.3421, allocations: 337.1 kB / 0.5619 GB, free: 3.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3421, allocations: 51.41 kB / 0.5619 GB, free: 3.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3423, allocations: 168.8 kB / 0.5621 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3423, allocations: 29.7 kB / 0.5621 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.3424, allocations: 100.1 kB / 0.5622 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3424, allocations: 47.58 kB / 0.5623 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.3425, allocations: 33.7 kB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3426, allocations: 322.8 kB / 0.5626 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3427, allocations: 43.97 kB / 0.5627 GB, free: 2.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3428, allocations: 52.09 kB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3431, allocations: 104.4 kB / 0.5628 GB, free: 2.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3431, allocations: 0 / 0.5628 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002955/0.3434, allocations: 165.4 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3434, allocations: 6.5 kB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3434, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3434, allocations: 0 / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3435, allocations: 27.97 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3435, allocations: 4 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.3436, allocations: 8 kB / 0.563 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3436, allocations: 0 / 0.563 GB, free: 1.922 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 (13): * Single equations (assignments): 13 * 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.000107/0.3437, allocations: 129.8 kB / 0.5631 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.3437, allocations: 19.89 kB / 0.5631 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.3441, allocations: 183.1 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3441, allocations: 0 / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3441, allocations: 0 / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3441, allocations: 0 / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.3448, allocations: 462.1 kB / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3449, allocations: 0 / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.3449, allocations: 35.95 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.345, allocations: 4 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.345, allocations: 0 / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.345, allocations: 7.984 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.345, allocations: 0 / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3454, allocations: 256.1 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.3454, allocations: 7.953 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3454, allocations: 4 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.3455, allocations: 7.984 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3455, allocations: 19.92 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3455, allocations: 0 / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3457, allocations: 132.9 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.346, allocations: 23.94 kB / 0.5642 GB, free: 0.5664 MB / 398.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 (13): * Single equations (assignments): 13 * 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.002501/0.3485, allocations: 1.159 MB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.3488, allocations: 107.9 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3488, allocations: 0 / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3489, allocations: 59.84 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3493, allocations: 31.08 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3515, allocations: 1.759 MB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3516, allocations: 92.61 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.052e-05/0.3517, allocations: 36.45 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.3518, allocations: 35.42 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3518, allocations: 0 / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.3771, allocations: 3.54 MB / 0.5709 GB, free: 9.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.79, allocations: 8 kB / 0.5709 GB, free: 9.887 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.017605117056519]