Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001341/0.001341, allocations: 113 kB / 18.49 MB, free: 4.539 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.001442/0.001442, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.597/1.597, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.235/0.235, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.002006/0.002006, allocations: 63.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003647/0.1361, allocations: 1.672 MB / 0.5541 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1374, allocations: 0.5455 MB / 0.5546 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.1375, allocations: 0 / 0.5546 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.1378, allocations: 99.67 kB / 0.5547 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1382, allocations: 107.6 kB / 0.5548 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1384, allocations: 95.69 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1386, allocations: 99.73 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1388, allocations: 23.92 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.1388, allocations: 43.84 kB / 0.5551 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.139, allocations: 71.8 kB / 0.5551 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.139, allocations: 4 kB / 0.5551 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1391, allocations: 51.91 kB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.1392, allocations: 27.86 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1392, allocations: 43.67 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1395, allocations: 123.5 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1395, allocations: 0 / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1395, allocations: 0 / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1395, allocations: 0 / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006076/0.1401, allocations: 446.4 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1401, allocations: 12.03 kB / 0.5558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.239e-05/0.1401, allocations: 4.188 kB / 0.5558 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.1402, allocations: 34.75 kB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1402, allocations: 16.84 kB / 0.5559 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1405, allocations: 204.1 kB / 0.5561 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1405, allocations: 8.375 kB / 0.5561 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1405, allocations: 8.125 kB / 0.5561 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1407, allocations: 65.67 kB / 0.5561 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1407, allocations: 7.891 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1407, allocations: 4 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1407, allocations: 0 / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1409, allocations: 43.95 kB / 0.5562 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1414, allocations: 336.6 kB / 0.5565 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1415, allocations: 58.5 kB / 0.5566 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.1416, allocations: 28.84 kB / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1416, allocations: 0 / 0.5566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1416, allocations: 30.56 kB / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1416, allocations: 0 / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001129/0.1428, allocations: 317.2 kB / 0.5569 GB, free: 5.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1428, allocations: 55.41 kB / 0.557 GB, free: 5.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.1431, allocations: 239.4 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1431, allocations: 25.7 kB / 0.5572 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.1432, allocations: 112.1 kB / 0.5573 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1433, allocations: 51.52 kB / 0.5574 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.1433, allocations: 33.7 kB / 0.5574 GB, free: 4.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1435, allocations: 326.8 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1436, allocations: 39.97 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.1436, allocations: 31.98 kB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1438, allocations: 92.33 kB / 0.5579 GB, free: 4.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1438, allocations: 0 / 0.5579 GB, free: 4.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.1441, allocations: 141.6 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1441, allocations: 4 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1441, allocations: 3.938 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1442, allocations: 3.938 kB / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1443, allocations: 35.97 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1443, allocations: 0 / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1444, allocations: 4 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1444, allocations: 0 / 0.5581 GB, free: 4.102 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 (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.0001215/0.1445, allocations: 140 kB / 0.5582 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.1445, allocations: 15.89 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.1449, allocations: 167.8 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1449, allocations: 7.938 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1449, allocations: 0 / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1449, allocations: 3.984 kB / 0.5584 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.1456, allocations: 479.2 kB / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1456, allocations: 0 / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.1457, allocations: 27.92 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1457, allocations: 4 kB / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1457, allocations: 0 / 0.5589 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1457, allocations: 7.969 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1457, allocations: 0 / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.1461, allocations: 244.2 kB / 0.5591 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.1461, allocations: 89.02 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1461, allocations: 8 kB / 0.5592 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.1462, allocations: 3.984 kB / 0.5592 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1463, allocations: 11.98 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1463, allocations: 12 kB / 0.5593 GB, free: 2.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1465, allocations: 185.1 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1465, allocations: 4 kB / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1467, allocations: 27.94 kB / 0.5595 GB, free: 2.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 (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.002369/0.1491, allocations: 1.126 MB / 0.5606 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1494, allocations: 91.89 kB / 0.5606 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1494, allocations: 3.938 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1495, allocations: 55.91 kB / 0.5607 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1499, allocations: 21.94 kB / 0.5607 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1522, allocations: 1.846 MB / 0.5625 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1526, allocations: 0.7158 MB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1527, allocations: 20.53 kB / 0.5632 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.1527, allocations: 43.42 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1527, allocations: 0 / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.1728, allocations: 3.602 MB / 0.5668 GB, free: 11.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.636, allocations: 3.125 kB / 0.5668 GB, free: 11.17 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.005467884999234]