Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001288/0.001288, 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.001383/0.001383, 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.61/1.61, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2362/0.2362, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001945/0.001945, allocations: 59.91 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 65.43 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003405/0.1392, allocations: 1.661 MB / 0.5541 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1403, allocations: 0.5494 MB / 0.5546 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.1404, allocations: 0 / 0.5546 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1407, allocations: 99.67 kB / 0.5547 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1411, allocations: 111.6 kB / 0.5548 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1413, allocations: 95.69 kB / 0.5549 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1415, allocations: 91.75 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1416, allocations: 23.92 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.1417, allocations: 47.83 kB / 0.5551 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1419, allocations: 71.73 kB / 0.5551 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1419, allocations: 4 kB / 0.5551 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.142, allocations: 47.98 kB / 0.5552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1421, allocations: 31.84 kB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.1421, allocations: 43.67 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1423, allocations: 119.5 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1423, allocations: 0 / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1423, allocations: 0 / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1423, 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.0005823/0.1429, allocations: 450.4 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.143, allocations: 12.03 kB / 0.5558 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.12e-05/0.143, allocations: 192 / 0.5558 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.143, allocations: 34.75 kB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1431, allocations: 16.84 kB / 0.5559 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1433, allocations: 204.1 kB / 0.5561 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1433, allocations: 16.34 kB / 0.5561 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1433, allocations: 8.125 kB / 0.5561 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1435, allocations: 69.61 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1435, allocations: 7.953 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1435, allocations: 0 / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1436, allocations: 4 kB / 0.5562 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1437, allocations: 35.97 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.1442, allocations: 340.6 kB / 0.5565 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1443, allocations: 62.5 kB / 0.5566 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/0.1444, allocations: 24.84 kB / 0.5566 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1444, allocations: 4.141 kB / 0.5566 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1444, allocations: 34.56 kB / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.1444, allocations: 0 / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001167/0.1456, allocations: 313.5 kB / 0.5569 GB, free: 5.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1457, allocations: 55.34 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.146, allocations: 239.5 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.146, allocations: 29.64 kB / 0.5573 GB, free: 4.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.1461, allocations: 108.1 kB / 0.5574 GB, free: 4.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.1461, allocations: 55.56 kB / 0.5574 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1462, allocations: 29.7 kB / 0.5574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1463, allocations: 326.8 kB / 0.5578 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1464, allocations: 35.97 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.1465, allocations: 35.98 kB / 0.5578 GB, free: 4.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1468, allocations: 91.95 kB / 0.5579 GB, free: 4.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1468, allocations: 0 / 0.5579 GB, free: 4.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002796/0.147, allocations: 141.5 kB / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.147, allocations: 4 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1471, allocations: 3.938 kB / 0.558 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1471, allocations: 4 kB / 0.5581 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1472, allocations: 27.97 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1472, allocations: 0 / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.1473, allocations: 8 kB / 0.5581 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1473, allocations: 4 kB / 0.5581 GB, free: 4.09 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.0001199/0.1474, allocations: 136 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1474, allocations: 15.91 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.1478, allocations: 163.1 kB / 0.5584 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1478, allocations: 3.938 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1478, allocations: 0 / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1478, allocations: 7.984 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.1485, allocations: 475.2 kB / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1485, allocations: 0 / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.1486, allocations: 35.92 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1486, allocations: 0 / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1486, allocations: 0 / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1486, allocations: 4 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1486, allocations: 3.984 kB / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1489, allocations: 244.2 kB / 0.5591 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.149, allocations: 89.02 kB / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.149, allocations: 0 / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.1491, allocations: 11.98 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1491, allocations: 11.92 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1492, allocations: 4 kB / 0.5592 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1493, allocations: 181.1 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 4 kB / 0.5594 GB, free: 2.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1496, allocations: 31.92 kB / 0.5595 GB, free: 2.586 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.002242/0.1518, allocations: 1.14 MB / 0.5606 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1521, allocations: 87.95 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1521, allocations: 3.938 kB / 0.5607 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1522, allocations: 51.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.0003864/0.1526, allocations: 21.06 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.002337/0.155, allocations: 1.842 MB / 0.5625 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1553, allocations: 0.7236 MB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.1554, 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.056e-05/0.1555, allocations: 43.42 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1555, allocations: 0 / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1743, allocations: 3.593 MB / 0.5668 GB, free: 11.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.718, allocations: 10.88 kB / 0.5668 GB, free: 11.17 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.1541094550048]