Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",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.0009064/0.0009067, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 181.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3768/0.3768, allocations: 43.58 MB / 315 MB, free: 8.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 16 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.87 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001834/0.1249, allocations: 1.263 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.1255, allocations: 311.7 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.1256, allocations: 0 / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1258, allocations: 19.94 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1259, allocations: 31.84 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1261, allocations: 63.92 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1263, allocations: 55.84 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1264, allocations: 16.25 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.1265, allocations: 19.86 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.1266, allocations: 15.92 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1266, allocations: 4 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.1267, allocations: 20 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1268, allocations: 19.86 kB / 445.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.1269, allocations: 49.5 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1271, allocations: 79.72 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1271, allocations: 3.938 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1271, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1271, allocations: 4 kB / 445.5 MB, free: 10.59 MB / 382.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.0006976/0.1278, allocations: 363.2 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.1279, allocations: 8.031 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.128, allocations: 42.73 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.128, allocations: 8.844 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1282, allocations: 180.3 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1283, allocations: 4.375 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1283, allocations: 4.312 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1285, allocations: 53.61 kB / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1285, allocations: 0 / 446.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1285, allocations: 4 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1285, allocations: 0 / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1286, allocations: 23.98 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1291, allocations: 284.7 kB / 446.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1293, allocations: 50.5 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1294, allocations: 20.8 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1294, allocations: 8.078 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1295, allocations: 34.56 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1295, allocations: 0 / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005761/0.1301, allocations: 153.6 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1301, allocations: 51.41 kB / 446.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1303, allocations: 157.5 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1303, allocations: 25.7 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1304, allocations: 96.12 kB / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1304, allocations: 15.75 kB / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1304, allocations: 13.72 kB / 447.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1306, allocations: 326.8 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.1306, allocations: 23.98 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.1307, allocations: 19.98 kB / 447.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1309, allocations: 60.77 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1309, allocations: 0 / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.1311, allocations: 85.58 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1311, allocations: 8 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1311, allocations: 0 / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1311, allocations: 8.031 kB / 447.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1312, allocations: 15.98 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1312, allocations: 0 / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.1313, allocations: 8.188 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1313, allocations: 4 kB / 447.6 MB, free: 8.238 MB / 382.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 0.0001348/0.1315, allocations: 121.8 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1315, allocations: 11.84 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1318, allocations: 102 kB / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1318, allocations: 0 / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1318, allocations: 0 / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1318, allocations: 3.938 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1322, allocations: 354.5 kB / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1322, allocations: 0 / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.1323, allocations: 15.98 kB / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1323, allocations: 0 / 448.2 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1323, allocations: 3.938 kB / 448.2 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1323, allocations: 3.938 kB / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1323, allocations: 4 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1326, allocations: 183.4 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1326, allocations: 85.02 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1326, allocations: 7.938 kB / 448.5 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1327, allocations: 11.98 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1328, allocations: 7.938 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1328, allocations: 0 / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1329, allocations: 119.2 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1329, allocations: 0 / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1333, allocations: 16 kB / 448.7 MB, free: 7.102 MB / 382.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.001772/0.135, allocations: 1.019 MB / 449.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1353, allocations: 63.84 kB / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1353, allocations: 0 / 449.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.1354, allocations: 23.98 kB / 449.8 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1359, allocations: 15.98 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1379, allocations: 1.471 MB / 451.2 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1383, allocations: 0.6887 MB / 451.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.628e-05/0.1383, allocations: 15.98 kB / 452 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.1384, allocations: 19.44 kB / 452 MB, free: 3.684 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1384, allocations: 0 / 452 MB, free: 3.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.1537, allocations: 2.088 MB / 454.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.154, allocations: 231.3 kB / 454.3 MB, free: 1.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.067, allocations: 4.062 kB / 454.3 MB, free: 1.332 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches