Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",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.001181/0.001181, allocations: 96.94 kB / 16.02 MB, free: 84 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.001547/0.001548, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.741/1.741, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.369/0.369, allocations: 43.58 MB / 315 MB, free: 8.832 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.0004896/0.0004896, allocations: 12 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.001924/0.1183, allocations: 1.291 MB / 444.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006729/0.119, allocations: 327.6 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.1191, allocations: 4 kB / 445.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1193, allocations: 91.81 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1195, allocations: 67.78 kB / 445.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1197, allocations: 79.89 kB / 445.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1199, allocations: 83.75 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.12, allocations: 24.38 kB / 445.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.1201, allocations: 31.91 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.1202, allocations: 55.81 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1202, allocations: 0 / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.1203, allocations: 24 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1203, allocations: 31.86 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1204, allocations: 65.36 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1205, allocations: 95.64 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1206, allocations: 0 / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1206, allocations: 0 / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1206, allocations: 0 / 445.8 MB, free: 10.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004655/0.121, allocations: 399.1 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1211, allocations: 8.031 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1211, allocations: 34.75 kB / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1212, allocations: 20.75 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1214, allocations: 204.8 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1214, allocations: 384 / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1214, allocations: 8.125 kB / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1216, allocations: 75.39 kB / 446.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1216, allocations: 4 kB / 446.5 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1217, allocations: 3.984 kB / 446.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1217, allocations: 0 / 446.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1218, allocations: 47.91 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1223, allocations: 404.9 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.1226, allocations: 89.16 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.1227, allocations: 33.8 kB / 447.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1227, allocations: 4 kB / 447.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1227, allocations: 38.5 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1227, allocations: 0 / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007216/0.1235, allocations: 256.8 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1235, allocations: 81.05 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1238, allocations: 238.3 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1238, allocations: 25.7 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1238, allocations: 112 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1239, allocations: 35.55 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1239, allocations: 9.719 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.124, allocations: 330.8 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.1241, allocations: 35.97 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.1242, allocations: 57.62 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1244, allocations: 89.69 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1245, allocations: 0 / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/0.1247, allocations: 137.6 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1247, allocations: 8 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1247, allocations: 4.062 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1248, allocations: 4 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.1248, allocations: 27.92 kB / 448.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1249, allocations: 3.938 kB / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.1249, allocations: 4 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1249, allocations: 7.984 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.865e-05/0.125, allocations: 125.8 kB / 448.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1251, allocations: 23.8 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.1254, allocations: 154.5 kB / 448.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1254, allocations: 4 kB / 448.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1254, allocations: 3.938 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1255, allocations: 0 / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.1261, allocations: 0.5064 MB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.1261, allocations: 7.938 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.1262, allocations: 23.95 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1262, allocations: 4 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1263, allocations: 12.55 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1263, allocations: 0 / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1263, allocations: 0 / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.1266, allocations: 311.6 kB / 449.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1267, allocations: 96.95 kB / 449.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1267, allocations: 0 / 449.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1268, allocations: 11.98 kB / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.1269, allocations: 15.97 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1269, allocations: 4 kB / 449.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1271, allocations: 172.2 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1271, allocations: 0 / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1274, allocations: 24 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001421/0.1288, allocations: 1.148 MB / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.129, allocations: 96.02 kB / 451.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.129, allocations: 0 / 451.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1292, allocations: 47.91 kB / 451.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1296, allocations: 19.98 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1316, allocations: 1.893 MB / 453.3 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.132, allocations: 0.7121 MB / 454 MB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.132, allocations: 32.39 kB / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.1321, allocations: 35.42 kB / 454 MB, free: 1.578 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1321, allocations: 0 / 454 MB, free: 1.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/0.3266, allocations: 2.708 MB / 456.7 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.3267, allocations: 226.1 kB / 457 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.091, allocations: 8.25 kB / 457 MB, free: 45.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches