Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.001325/0.001325, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001531/0.001531, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.2503/0.2503, allocations: 44.9 MB / 359.6 MB, free: 6.312 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001937/0.001937, allocations: 65.94 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00372/0.3195, allocations: 1.962 MB / 0.5597 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3217, allocations: 1.108 MB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3218, allocations: 3.938 kB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.3222, allocations: 263.2 kB / 0.561 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.3227, allocations: 259.1 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.3243, allocations: 0.6495 MB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3248, allocations: 327.1 kB / 0.5622 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.325, allocations: 38.73 kB / 0.5623 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.3251, allocations: 147.3 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3254, allocations: 211.3 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3255, allocations: 12 kB / 0.5626 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3256, allocations: 63.95 kB / 0.5627 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3257, allocations: 95.61 kB / 0.5628 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3259, allocations: 115 kB / 0.5629 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.3263, allocations: 314.3 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3263, allocations: 0 / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3263, allocations: 4 kB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3263, allocations: 0 / 0.5632 GB, free: 2.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008467/0.3271, allocations: 0.601 MB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.3272, allocations: 19.97 kB / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.276e-05/0.3272, allocations: 192 / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3273, allocations: 38.75 kB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.3274, allocations: 44.61 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.3278, allocations: 280.6 kB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3278, allocations: 8.375 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3278, allocations: 8.125 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.328, allocations: 100.3 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.328, allocations: 0 / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.328, allocations: 4 kB / 0.5643 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.328, allocations: 4 kB / 0.5643 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3282, allocations: 71.89 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.3289, allocations: 451.5 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3291, allocations: 66.53 kB / 0.5648 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.3292, allocations: 32.97 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3292, allocations: 7.938 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3292, allocations: 38.56 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3292, allocations: 0 / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000381/0.3296, allocations: 157.3 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3296, allocations: 59.39 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.3304, allocations: 0.5957 MB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3304, allocations: 29.64 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3306, allocations: 212 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3306, allocations: 23.78 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.3307, allocations: 17.72 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3309, allocations: 354.8 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.3309, allocations: 27.97 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.331, allocations: 31.92 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3312, allocations: 60.83 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3312, allocations: 4 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002528/0.3314, allocations: 133.4 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3314, allocations: 8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3314, allocations: 448 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3315, allocations: 3.938 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.3315, allocations: 11.98 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3316, allocations: 4 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.3316, allocations: 11.94 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3316, allocations: 0 / 0.5666 GB, free: 14.56 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 (6): * Single equations (assignments): 6 * 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.0001783/0.3318, allocations: 181.7 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.3319, allocations: 39.72 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.3322, allocations: 165.1 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3322, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3322, allocations: 3.938 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3322, allocations: 0 / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3326, allocations: 276.6 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3326, allocations: 0 / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.3326, allocations: 19.92 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3326, allocations: 0 / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3327, allocations: 7.938 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3327, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3327, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.333, allocations: 227.2 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.333, allocations: 43.73 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.3331, allocations: 7.938 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.3332, allocations: 7.938 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3332, allocations: 7.984 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3332, allocations: 0 / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005354/0.3337, allocations: 454.8 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.334, allocations: 35.89 kB / 0.568 GB, free: 13.03 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 (6): * Single equations (assignments): 6 * 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.003031/0.3371, allocations: 1.266 MB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3373, allocations: 63.91 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3373, allocations: 0 / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.3374, allocations: 39.91 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.338, allocations: 74.84 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.342, allocations: 2.977 MB / 0.5723 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.3425, allocations: 0.81 MB / 0.5731 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3426, allocations: 53.89 kB / 0.5732 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3428, allocations: 119.4 kB / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3428, allocations: 0 / 0.5733 GB, free: 7.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.371, allocations: 7.192 MB / 0.5803 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.11, allocations: 2.812 kB / 0.5803 GB, free: 0.6641 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.313928161980584]