Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.243/0.243, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 56.5 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003161/0.1332, allocations: 1.579 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.134, allocations: 403.3 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.1341, allocations: 3.938 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1344, allocations: 75.77 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1346, allocations: 63.75 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1349, allocations: 115.2 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.135, allocations: 75.81 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.1352, allocations: 20.17 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.1352, allocations: 31.84 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.1353, allocations: 43.89 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1353, allocations: 11.94 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.1354, allocations: 47.97 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1355, allocations: 11.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.1355, allocations: 31.75 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1357, allocations: 103.8 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.1357, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1357, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1358, allocations: 0 / 472 MB, free: 11.66 MB / 350.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.0004368/0.1362, allocations: 395.1 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1362, allocations: 12.03 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.1363, allocations: 38.73 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1363, allocations: 8.844 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1365, allocations: 188.1 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1365, allocations: 8.375 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1366, allocations: 4.125 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1367, allocations: 57.61 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1367, allocations: 0 / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1367, allocations: 4 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1367, allocations: 0 / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.517e-05/0.1368, allocations: 39.94 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1372, allocations: 292.7 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1373, allocations: 54.44 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1374, allocations: 16.94 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1374, allocations: 8 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1374, allocations: 30.56 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1375, allocations: 0 / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008607/0.1383, allocations: 233 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1384, allocations: 59.34 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1385, allocations: 193.9 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1386, allocations: 29.7 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.1386, allocations: 96.12 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1387, allocations: 31.62 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1387, allocations: 25.7 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1388, allocations: 322.8 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.1389, allocations: 31.97 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.139, allocations: 31.92 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1392, allocations: 72.81 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1392, allocations: 0 / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.1394, allocations: 109.6 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1394, allocations: 4 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1394, allocations: 4 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1394, allocations: 0 / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1396, allocations: 23.92 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1396, allocations: 7.938 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.1396, allocations: 7.984 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1396, allocations: 0 / 474.3 MB, free: 9.035 MB / 350.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 7.405e-05/0.1397, allocations: 129.8 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.1398, allocations: 7.906 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.14, allocations: 135 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1401, allocations: 4 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1401, allocations: 3.938 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.1405, allocations: 415.2 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1406, allocations: 15.95 kB / 475 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.1406, allocations: 15.94 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1406, allocations: 3.984 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1407, allocations: 4 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1407, allocations: 0 / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1407, allocations: 0 / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1409, allocations: 212.3 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.141, allocations: 88.95 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.141, allocations: 4 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.1411, allocations: 7.984 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1411, allocations: 7.938 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1411, allocations: 3.984 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1412, allocations: 148.9 kB / 475.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1412, allocations: 0 / 475.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1415, allocations: 24 kB / 475.6 MB, free: 7.719 MB / 350.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.00144/0.1429, allocations: 1.094 MB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1432, allocations: 75.89 kB / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1432, allocations: 0 / 476.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.1433, allocations: 43.91 kB / 476.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1437, allocations: 27.92 kB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1455, allocations: 1.641 MB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1459, allocations: 0.7041 MB / 479.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.1459, allocations: 20.64 kB / 479.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.146, allocations: 35.42 kB / 479.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.146, allocations: 0 / 479.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.1705, allocations: 2.936 MB / 482.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.341, allocations: 6.5 kB / 482.1 MB, free: 1.242 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches