Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001085/0.001085, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001108/0.001109, allocations: 194 kB / 18.12 MB, free: 5.383 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.504/1.504, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2316/0.2316, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.34 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.004209/0.131, allocations: 1.633 MB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.132, allocations: 411.3 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1321, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1324, allocations: 75.83 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1328, allocations: 55.81 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1331, allocations: 99.56 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1333, allocations: 71.83 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1335, allocations: 24.16 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.1336, allocations: 35.78 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1337, allocations: 51.88 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1337, allocations: 0 / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1339, allocations: 43.98 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1339, allocations: 15.94 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.134, allocations: 35.72 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1343, allocations: 103.9 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1343, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1343, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1343, allocations: 0 / 471.3 MB, free: 12.1 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.0006703/0.135, allocations: 399.1 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1351, allocations: 12.02 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.1351, allocations: 34.75 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.1352, allocations: 16.84 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1354, allocations: 196.1 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1354, allocations: 4.375 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1354, allocations: 8.031 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1356, allocations: 57.62 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1356, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1356, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1357, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1358, allocations: 27.97 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1362, allocations: 308.8 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1364, allocations: 46.48 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1364, allocations: 16.86 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1365, allocations: 0 / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1365, allocations: 38.64 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1365, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009683/0.1375, allocations: 233.2 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1376, allocations: 55.34 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1378, allocations: 214.2 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1379, allocations: 29.69 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.1379, allocations: 104 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.138, allocations: 27.64 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1381, allocations: 17.72 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1382, allocations: 326.8 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.1383, allocations: 27.97 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.1384, allocations: 35.92 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1386, allocations: 72.81 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1386, allocations: 4 kB / 473.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000245/0.1389, allocations: 109.5 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1389, allocations: 11.94 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1389, allocations: 3.938 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1389, allocations: 0 / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.139, allocations: 27.92 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1391, allocations: 3.938 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1391, allocations: 4 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1391, allocations: 4 kB / 473.7 MB, free: 9.438 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 0.0002028/0.1393, allocations: 125.8 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1394, allocations: 11.91 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1397, allocations: 127.1 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1397, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1397, allocations: 3.938 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1397, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.1403, allocations: 427.2 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1403, allocations: 3.938 kB / 474.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.1404, allocations: 19.97 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1404, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1404, allocations: 8 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1404, allocations: 3.984 kB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1405, allocations: 0 / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1407, allocations: 208.3 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1408, allocations: 92.95 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1408, allocations: 0 / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.1409, allocations: 7.984 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.141, allocations: 7.938 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.141, allocations: 4 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1411, allocations: 155.2 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1414, allocations: 23.98 kB / 474.9 MB, free: 8.117 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.001798/0.1432, allocations: 1.108 MB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1435, allocations: 71.89 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1436, allocations: 0 / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1437, allocations: 43.91 kB / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.1443, allocations: 26.17 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1474, allocations: 1.688 MB / 477.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.1479, allocations: 0.708 MB / 478.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.148, allocations: 24.94 kB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/0.1481, allocations: 35.42 kB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1481, allocations: 0 / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1666, allocations: 2.828 MB / 481.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/0.167, allocations: 247.2 kB / 481.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.154, allocations: 3.938 kB / 481.7 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches