Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 114.1 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 207.6 MB / 230.5 MB, free: 3.945 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3624/0.3624, allocations: 44.24 MB / 326.5 MB, free: 6.793 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003368/0.003368, allocations: 71.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.349, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003103/0.3521, allocations: 1.626 MB / 0.5125 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.3528, allocations: 353.7 kB / 0.5128 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.3529, allocations: 1.219 kB / 0.5128 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.3535, allocations: 452 kB / 0.5133 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.3539, allocations: 254.9 kB / 0.5135 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3543, allocations: 147.5 kB / 0.5136 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.3546, allocations: 170.5 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3547, allocations: 17.53 kB / 0.5138 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.3549, allocations: 110.1 kB / 0.5139 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3552, allocations: 246.7 kB / 0.5142 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3552, allocations: 2.75 kB / 0.5142 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3553, allocations: 32.61 kB / 0.5142 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3554, allocations: 83.52 kB / 0.5143 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.3555, allocations: 107.5 kB / 0.5144 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3559, allocations: 259.9 kB / 0.5146 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3559, allocations: 0 / 0.5146 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3559, allocations: 7.984 kB / 0.5146 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3559, allocations: 0 / 0.5146 GB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007587/0.3566, allocations: 0.6467 MB / 0.5153 GB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3567, allocations: 13.89 kB / 0.5153 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.3567, allocations: 36.05 kB / 0.5153 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.3568, allocations: 47.11 kB / 0.5154 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3571, allocations: 302.9 kB / 0.5157 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3571, allocations: 6.75 kB / 0.5157 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3571, allocations: 6.344 kB / 0.5157 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3573, allocations: 64.59 kB / 0.5157 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3573, allocations: 0 / 0.5157 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3573, allocations: 0 / 0.5157 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3573, allocations: 0 / 0.5157 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.887e-05/0.3574, allocations: 24.67 kB / 0.5157 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.358, allocations: 401.7 kB / 0.5161 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3582, allocations: 55.78 kB / 0.5162 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.3583, allocations: 15.23 kB / 0.5162 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3583, allocations: 5.391 kB / 0.5162 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3583, allocations: 35.83 kB / 0.5162 GB, free: 9.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3583, allocations: 0 / 0.5162 GB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006465/0.359, allocations: 247.5 kB / 0.5165 GB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.359, allocations: 52.78 kB / 0.5165 GB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.3597, allocations: 0.869 MB / 0.5174 GB, free: 8.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3597, allocations: 25.7 kB / 0.5174 GB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3598, allocations: 232 kB / 0.5176 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3598, allocations: 11.86 kB / 0.5176 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3599, allocations: 17.72 kB / 0.5176 GB, free: 7.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.3599, allocations: 374.8 kB / 0.518 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.36, allocations: 19.98 kB / 0.518 GB, free: 7.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.3601, allocations: 19.98 kB / 0.518 GB, free: 7.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3602, allocations: 57.02 kB / 0.5181 GB, free: 7.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3602, allocations: 0 / 0.5181 GB, free: 7.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.3604, allocations: 121.4 kB / 0.5182 GB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3604, allocations: 8 kB / 0.5182 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3604, allocations: 0 / 0.5182 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3604, allocations: 0 / 0.5182 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3605, allocations: 19.92 kB / 0.5182 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3605, allocations: 3.938 kB / 0.5182 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.3605, allocations: 4 kB / 0.5182 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3605, allocations: 0 / 0.5182 GB, free: 7.254 MB / 382.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 0.0001317/0.3607, allocations: 213.8 kB / 0.5185 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3607, allocations: 47.72 kB / 0.5185 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.3609, allocations: 141 kB / 0.5186 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.361, allocations: 4 kB / 0.5186 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.361, allocations: 3.938 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.361, allocations: 0 / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3614, allocations: 466.4 kB / 0.5191 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3614, allocations: 0 / 0.5191 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.3615, allocations: 19.98 kB / 0.5191 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3615, allocations: 3.938 kB / 0.5191 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3615, allocations: 0 / 0.5191 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3615, allocations: 0 / 0.5191 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3615, allocations: 4.125 kB / 0.5191 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3617, allocations: 227.1 kB / 0.5193 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.3617, allocations: 116.8 kB / 0.5194 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3617, allocations: 7.938 kB / 0.5194 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3618, allocations: 3.984 kB / 0.5195 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.3619, allocations: 7.938 kB / 0.5195 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3619, allocations: 4 kB / 0.5195 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.3623, allocations: 0.655 MB / 0.5201 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3623, allocations: 0 / 0.5201 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3626, allocations: 24 kB / 0.5201 GB, free: 5.227 MB / 382.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.001717/0.3643, allocations: 1.059 MB / 0.5212 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3645, allocations: 47.97 kB / 0.5212 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3645, allocations: 0 / 0.5212 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.3645, allocations: 31.97 kB / 0.5212 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.365, allocations: 26.25 kB / 0.5213 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.368, allocations: 3.249 MB / 0.5244 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3683, allocations: 0.8221 MB / 0.5252 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.675e-05/0.3684, allocations: 15.98 kB / 0.5253 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3686, allocations: 119.4 kB / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3686, allocations: 0 / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4014, allocations: 6.071 MB / 0.5313 GB, free: 9.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.106, allocations: 9.531 kB / 0.5313 GB, free: 9.598 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 12.122539097908884]