Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.00179/0.00179, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002264/0.002264, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.524/1.524, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.249/0.249, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.88 kB / 0.491 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 65.99 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003014/0.1387, allocations: 1.63 MB / 0.557 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1398, allocations: 0.5572 MB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.1398, allocations: 0 / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1401, allocations: 83.7 kB / 0.5576 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.1403, allocations: 95.64 kB / 0.5577 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1406, allocations: 118.7 kB / 0.5578 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1408, allocations: 83.75 kB / 0.5579 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1409, allocations: 15.98 kB / 0.5579 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.141, allocations: 35.86 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1411, allocations: 63.8 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1411, allocations: 0 / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1412, allocations: 51.92 kB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1413, allocations: 23.91 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1413, allocations: 27.75 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1415, allocations: 107.6 kB / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1415, allocations: 0 / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1415, allocations: 0 / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1415, allocations: 0 / 0.5582 GB, free: 2.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005527/0.142, allocations: 418.7 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1421, allocations: 12.03 kB / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.1421, allocations: 38.73 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1422, allocations: 12.84 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1424, allocations: 215.1 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1424, allocations: 4.375 kB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1424, allocations: 384 / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1426, allocations: 61.61 kB / 0.5589 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1426, allocations: 4 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1426, allocations: 0 / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1426, allocations: 0 / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1427, allocations: 23.98 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.1432, allocations: 304.8 kB / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1433, allocations: 42.56 kB / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.1433, allocations: 20.94 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1434, allocations: 0 / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1434, allocations: 30.56 kB / 0.5593 GB, free: 1.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1434, allocations: 0 / 0.5593 GB, free: 1.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009426/0.1443, allocations: 249.7 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.1444, allocations: 51.41 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1446, allocations: 230.2 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1446, allocations: 29.64 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1447, allocations: 108.1 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1447, allocations: 23.75 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.1448, allocations: 25.7 kB / 0.56 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1449, allocations: 330.8 kB / 0.5603 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.145, allocations: 23.98 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.1451, allocations: 31.97 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1453, allocations: 68.83 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1453, allocations: 4 kB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002564/0.1456, allocations: 117.8 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1456, allocations: 11.98 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1456, allocations: 80 / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.1456, allocations: 0 / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1457, allocations: 15.98 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1457, allocations: 11.92 kB / 0.5606 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.1458, allocations: 0 / 0.5606 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1458, allocations: 4 kB / 0.5606 GB, free: 204 kB / 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 (8): * Single equations (assignments): 8 * 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.0001067/0.1459, allocations: 136 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.1459, allocations: 15.89 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.1463, allocations: 135 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1463, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.1463, allocations: 3.938 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1463, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.1469, allocations: 427.2 kB / 0.5613 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1469, allocations: 4 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.147, allocations: 19.92 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.147, allocations: 0 / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.147, allocations: 4 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.147, allocations: 0 / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.147, allocations: 0 / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1473, allocations: 212.3 kB / 0.5615 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.1473, allocations: 96.94 kB / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1473, allocations: 0 / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1474, allocations: 8 kB / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1475, allocations: 7.984 kB / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.1475, allocations: 7.938 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1476, allocations: 160.2 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1476, allocations: 4 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1479, allocations: 23.94 kB / 0.5618 GB, free: 14.84 MB / 430.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 (8): * Single equations (assignments): 8 * 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.002283/0.1501, allocations: 1.1 MB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1504, allocations: 79.86 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1504, allocations: 0 / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1505, allocations: 44.03 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1509, allocations: 15.98 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1529, allocations: 1.723 MB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1533, allocations: 0.7119 MB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.1534, allocations: 16.66 kB / 0.5654 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.1534, allocations: 39.42 kB / 0.5655 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1534, allocations: 0 / 0.5655 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.18, allocations: 3.177 MB / 0.5686 GB, free: 8.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.283, allocations: 15.98 kB / 0.5686 GB, free: 8.016 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: 11.450095261912793]