Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.0011/0.0011, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001297/0.001298, allocations: 194 kB / 18.12 MB, free: 5.363 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.346/1.346, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2355/0.2355, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.83 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 60.82 MB / 468.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003716/0.1323, allocations: 1.636 MB / 470.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.1332, allocations: 419.3 kB / 470.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.1333, allocations: 7.938 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1336, allocations: 71.83 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1339, allocations: 47.88 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1342, allocations: 107.7 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1344, allocations: 67.83 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1346, allocations: 20.17 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.1346, allocations: 31.84 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1347, allocations: 55.81 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1348, allocations: 4 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1349, allocations: 39.98 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.135, allocations: 19.92 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.135, allocations: 23.81 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1352, allocations: 103.9 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1352, allocations: 3.938 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1352, allocations: 0 / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1352, allocations: 0 / 471.3 MB, free: 12.12 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.0005298/0.1358, allocations: 407.1 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1358, allocations: 8.031 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1359, allocations: 34.75 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.1359, allocations: 8.844 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1361, allocations: 200.1 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1362, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1362, allocations: 12.03 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1364, allocations: 61.59 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1364, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1364, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1364, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1365, allocations: 27.98 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.137, allocations: 304.8 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1372, allocations: 46.5 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1372, allocations: 16.94 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1373, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1373, allocations: 38.56 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1373, allocations: 0 / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000947/0.1383, allocations: 233.6 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1383, allocations: 59.34 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1385, allocations: 210.2 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1385, allocations: 29.64 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1386, allocations: 112 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1387, allocations: 19.66 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1387, allocations: 21.7 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1388, allocations: 322.8 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1389, allocations: 27.97 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.034e-05/0.139, allocations: 35.92 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1392, allocations: 76.81 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1392, allocations: 3.938 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.1394, allocations: 117.5 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1395, allocations: 6.344 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1395, allocations: 0 / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1395, allocations: 0 / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1397, allocations: 19.98 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1397, allocations: 7.875 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1398, allocations: 11.98 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1398, allocations: 0 / 473.7 MB, free: 9.461 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 9.776e-05/0.1399, allocations: 125.8 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1399, allocations: 11.89 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1402, allocations: 130.7 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1402, allocations: 0 / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1403, allocations: 3.938 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1403, allocations: 4 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.1408, allocations: 419.2 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1408, allocations: 3.938 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.1409, allocations: 19.92 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1409, allocations: 4 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1409, allocations: 4 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1409, allocations: 4.031 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.141, allocations: 4 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1412, allocations: 200.3 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1413, allocations: 88.95 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1413, allocations: 7.984 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1414, allocations: 4 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1415, allocations: 11.92 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1415, allocations: 11.94 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1416, allocations: 151.2 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1416, allocations: 0 / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1419, allocations: 24 kB / 474.9 MB, free: 8.141 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.001499/0.1434, allocations: 1.09 MB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1436, allocations: 83.86 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1436, allocations: 0 / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.1437, allocations: 39.92 kB / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1441, allocations: 23.64 kB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1461, allocations: 1.688 MB / 477.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1464, allocations: 0.7158 MB / 478.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.695e-05/0.1465, allocations: 20.64 kB / 478.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1466, allocations: 31.42 kB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1466, allocations: 0 / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1611, allocations: 2.842 MB / 481.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.1613, allocations: 233.7 kB / 481.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.099, allocations: 4 kB / 481.7 MB, free: 1.48 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches