Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001863/0.001863, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002161/0.002161, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2382/0.2382, allocations: 46.92 MB / 357.1 MB, free: 10.28 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.4909 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1295, allocations: 65.99 MB / 0.5554 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003147/0.1327, allocations: 1.61 MB / 0.557 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1337, allocations: 0.5689 MB / 0.5575 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.1338, allocations: 4 kB / 0.5575 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.1344, allocations: 451.1 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.1349, allocations: 291.3 kB / 0.5582 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.1354, allocations: 171.2 kB / 0.5584 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1356, allocations: 167.6 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1357, allocations: 11.97 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1359, allocations: 107.8 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.1361, allocations: 243.5 kB / 0.5589 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1362, allocations: 4 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.1362, allocations: 31.97 kB / 0.5589 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1363, allocations: 87.62 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.1364, allocations: 103 kB / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1368, allocations: 254.6 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1368, allocations: 0 / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1368, allocations: 4 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1368, allocations: 0 / 0.5594 GB, free: 1.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007916/0.1376, allocations: 0.6568 MB / 0.56 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1376, allocations: 8.031 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1376, allocations: 38.73 kB / 0.5601 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.1377, allocations: 48.59 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.138, allocations: 304.6 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.138, allocations: 384 / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.138, allocations: 4.375 kB / 0.5604 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1382, allocations: 53.62 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1382, allocations: 0 / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1382, allocations: 7.984 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1382, allocations: 0 / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.1383, allocations: 23.92 kB / 0.5605 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.1388, allocations: 388.8 kB / 0.5608 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.1389, allocations: 30.58 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.139, allocations: 20.91 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.139, allocations: 0 / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.139, allocations: 34.5 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.139, allocations: 0 / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003084/0.1393, allocations: 105.3 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1394, allocations: 55.53 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.1403, allocations: 0.8777 MB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1404, allocations: 25.7 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1405, allocations: 224.1 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1406, allocations: 11.89 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1406, allocations: 13.72 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1408, allocations: 366.7 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.1408, allocations: 19.98 kB / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.1409, allocations: 7.938 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.141, allocations: 32.84 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.141, allocations: 0 / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.1411, allocations: 97.39 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1412, allocations: 8 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1412, allocations: 0 / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1412, allocations: 4.094 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1412, allocations: 4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1412, allocations: 3.984 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1413, allocations: 4 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1413, allocations: 0 / 0.5627 GB, free: 13.98 MB / 430.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 (2): * Single equations (assignments): 2 * 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.000212/0.1415, allocations: 227.8 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.1416, allocations: 47.67 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.1418, allocations: 108.8 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1418, allocations: 0 / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1418, allocations: 0 / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1418, allocations: 3.984 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1422, allocations: 293.5 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1422, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.1422, allocations: 4 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1422, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1422, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1422, allocations: 4 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1422, allocations: 0 / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1424, allocations: 203.2 kB / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.1425, allocations: 112.8 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1426, allocations: 0 / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.1427, allocations: 4 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.1427, allocations: 0 / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1427, allocations: 0 / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.1434, allocations: 0.6629 MB / 0.5643 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1434, allocations: 4 kB / 0.5643 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1436, allocations: 19.94 kB / 0.5644 GB, free: 12.21 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001755/0.1454, allocations: 0.9854 MB / 0.5653 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1455, allocations: 27.92 kB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1455, allocations: 0 / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.1456, allocations: 11.98 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.146, allocations: 24.31 kB / 0.5654 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.1498, allocations: 3.187 MB / 0.5685 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.1503, allocations: 0.826 MB / 0.5693 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.1503, allocations: 23.73 kB / 0.5693 GB, free: 7.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1505, allocations: 111.4 kB / 0.5694 GB, free: 7.012 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1505, allocations: 0 / 0.5694 GB, free: 7.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.18, allocations: 5.818 MB / 0.5751 GB, free: 1.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.944/9.124, allocations: 11.44 kB / 0.5751 GB, free: 1.23 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.310014142189175]