Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001703/0.001703, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002163/0.002163, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2535/0.2535, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.91 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 66.03 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003289/0.3575, allocations: 1.59 MB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3595, allocations: 1.244 MB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.3596, allocations: 0 / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.3598, allocations: 19.84 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3601, allocations: 87.61 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3603, allocations: 91.34 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.3605, allocations: 67.81 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3606, allocations: 9.828 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.3607, allocations: 27.86 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3608, allocations: 34.5 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3608, allocations: 8 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.361, allocations: 95.89 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.3611, allocations: 15.92 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3611, allocations: 15.92 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3614, allocations: 139.5 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3614, allocations: 0 / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3614, allocations: 0 / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3615, allocations: 0 / 0.564 GB, free: 0.7578 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009657/0.3624, allocations: 325.7 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.3625, allocations: 8.031 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.3625, allocations: 46.67 kB / 0.5643 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.3626, allocations: 8.891 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3629, allocations: 134.4 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3629, allocations: 384 / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.3629, allocations: 384 / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3631, allocations: 97.03 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3631, allocations: 0 / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3631, allocations: 0 / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3631, allocations: 0 / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.3632, allocations: 23.92 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.3636, allocations: 248 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3638, allocations: 42.56 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.3639, allocations: 16.94 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3639, allocations: 3.984 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3639, allocations: 42.44 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3639, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005761/0.3645, allocations: 137.5 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.3646, allocations: 85.05 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3647, allocations: 141.8 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3648, allocations: 25.7 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3648, allocations: 100.1 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3649, allocations: 19.84 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3649, allocations: 21.7 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3651, allocations: 318.8 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.3651, allocations: 19.98 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.3652, allocations: 63.39 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3654, allocations: 40.84 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3654, allocations: 192 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002031/0.3656, allocations: 93.55 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3656, allocations: 7.938 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3656, allocations: 0 / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3656, allocations: 4 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.3657, allocations: 11.98 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3657, allocations: 4.031 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.3657, allocations: 7.938 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3657, allocations: 0 / 0.566 GB, free: 14.48 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 (5): * Single equations (assignments): 5 * 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 9.674e-05/0.3658, allocations: 113.8 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.3659, allocations: 7.953 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3661, allocations: 97.98 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3661, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3661, allocations: 0 / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3661, allocations: 7.938 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.3666, allocations: 309.7 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3666, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.3667, allocations: 8 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3667, allocations: 0 / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3667, allocations: 7.938 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.3667, allocations: 7.922 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3667, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.367, allocations: 179.5 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.367, allocations: 8.203 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.367, allocations: 7.922 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.3671, allocations: 8 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3671, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-06/0.3671, allocations: 7.984 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3672, allocations: 109.5 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3672, allocations: 3.938 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.3675, allocations: 39.86 kB / 0.5669 GB, free: 13.48 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 (5): * Single equations (assignments): 5 * 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.00246/0.37, allocations: 1.143 MB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3702, allocations: 47.91 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3702, allocations: 0 / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.3703, allocations: 31.91 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3707, allocations: 18.98 kB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3727, allocations: 1.425 MB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.3728, allocations: 79.08 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.3728, allocations: 15.77 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.3729, allocations: 27.42 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3729, allocations: 4 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.4093, allocations: 3.828 MB / 0.5733 GB, free: 7.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.49, allocations: 7.922 kB / 0.5733 GB, free: 6.996 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.626411402132362]