Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.00155/0.00155, allocations: 121 kB / 18.5 MB, free: 4.562 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.001416/0.001416, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.56/1.56, 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.2255/0.2255, 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.001983/0.001983, allocations: 77.92 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1235, allocations: 65.41 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002946/0.1264, allocations: 1.597 MB / 0.554 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1274, allocations: 0.5494 MB / 0.5545 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.1275, allocations: 0 / 0.5545 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.1277, allocations: 23.86 kB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.128, allocations: 87.61 kB / 0.5547 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1283, allocations: 107.7 kB / 0.5548 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1284, allocations: 59.78 kB / 0.5548 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1285, allocations: 19.92 kB / 0.5548 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.1286, allocations: 27.84 kB / 0.5549 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1286, allocations: 19.88 kB / 0.5549 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1286, allocations: 0 / 0.5549 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.1287, allocations: 39.98 kB / 0.5549 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.1288, allocations: 15.92 kB / 0.5549 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.1288, allocations: 27.8 kB / 0.555 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.129, allocations: 75.72 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.129, allocations: 3.938 kB / 0.555 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.129, allocations: 4 kB / 0.555 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.129, allocations: 0 / 0.555 GB, free: 7.457 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.0004972/0.1295, allocations: 390.9 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1295, allocations: 12.03 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/0.1296, allocations: 8.188 kB / 0.5554 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.1296, allocations: 30.75 kB / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1296, allocations: 8.891 kB / 0.5555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1298, allocations: 198.4 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1298, allocations: 8.312 kB / 0.5557 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1298, allocations: 4.125 kB / 0.5557 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.13, allocations: 57.61 kB / 0.5557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.13, allocations: 0 / 0.5557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.13, allocations: 0 / 0.5557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.13, allocations: 0 / 0.5557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1301, allocations: 31.97 kB / 0.5558 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1305, allocations: 280.9 kB / 0.556 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1307, allocations: 46.48 kB / 0.5561 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.1308, allocations: 16.86 kB / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1308, allocations: 0 / 0.5561 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1308, allocations: 34.56 kB / 0.5561 GB, free: 6.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1308, allocations: 0 / 0.5561 GB, free: 6.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005875/0.1314, allocations: 157.5 kB / 0.5563 GB, free: 6.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1315, allocations: 51.41 kB / 0.5563 GB, free: 5.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1316, allocations: 164.9 kB / 0.5565 GB, free: 5.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1317, allocations: 33.7 kB / 0.5565 GB, free: 5.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1317, allocations: 100.1 kB / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1317, allocations: 15.86 kB / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.1318, allocations: 25.64 kB / 0.5566 GB, free: 5.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1319, allocations: 318.8 kB / 0.5569 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.132, allocations: 23.97 kB / 0.557 GB, free: 5.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.1321, allocations: 19.98 kB / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1322, allocations: 52.83 kB / 0.557 GB, free: 5.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1322, allocations: 0 / 0.557 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002284/0.1325, allocations: 93.55 kB / 0.5571 GB, free: 5.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1325, allocations: 4 kB / 0.5571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1325, allocations: 0 / 0.5571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1325, allocations: 0 / 0.5571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1326, allocations: 15.98 kB / 0.5571 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1326, allocations: 7.938 kB / 0.5572 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.1326, allocations: 4 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1326, allocations: 0 / 0.5572 GB, free: 5.059 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 (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 9.815e-05/0.1327, allocations: 124 kB / 0.5573 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1327, allocations: 7.953 kB / 0.5573 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.133, allocations: 97.89 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.133, allocations: 4 kB / 0.5574 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.133, allocations: 7.938 kB / 0.5574 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.133, allocations: 3.984 kB / 0.5574 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.1335, allocations: 354.9 kB / 0.5577 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1335, allocations: 4.062 kB / 0.5577 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.1336, allocations: 15.94 kB / 0.5577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.1336, allocations: 11.86 kB / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1336, allocations: 0 / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1336, allocations: 0 / 0.5578 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1336, allocations: 4 kB / 0.5578 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1338, allocations: 179.5 kB / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1339, allocations: 89 kB / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1339, allocations: 0 / 0.558 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.134, allocations: 8 kB / 0.558 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.134, allocations: 3.984 kB / 0.558 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.134, allocations: 4 kB / 0.558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1341, allocations: 127.2 kB / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1341, allocations: 0 / 0.5582 GB, free: 3.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1344, allocations: 23.89 kB / 0.5582 GB, free: 3.902 MB / 414.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.001994/0.1364, allocations: 1.031 MB / 0.5592 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1366, allocations: 51.95 kB / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1366, allocations: 0 / 0.5592 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.1367, allocations: 27.92 kB / 0.5593 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.137, allocations: 19.36 kB / 0.5593 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1388, allocations: 1.495 MB / 0.5607 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1392, allocations: 0.6924 MB / 0.5614 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.615e-05/0.1392, allocations: 23.64 kB / 0.5614 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.1393, allocations: 27.42 kB / 0.5615 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1393, allocations: 0 / 0.5615 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1565, allocations: 2.685 MB / 0.5641 GB, free: 13.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.523, allocations: 4.062 kB / 0.5641 GB, free: 13.94 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.734527015010826]