Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",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.005929/0.005929, allocations: 101.3 kB / 15.88 MB, free: 6.309 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.001374/0.001375, allocations: 196.3 kB / 16.79 MB, free: 6.238 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.446/1.446, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3207/0.3207, allocations: 43.5 MB / 313.5 MB, free: 8.301 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.001517/0.001517, allocations: 74.08 kB / 382.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.77 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.003768/0.1219, allocations: 1.622 MB / 441.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007501/0.1227, allocations: 319.7 kB / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.1227, allocations: 0 / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.123, allocations: 31.91 kB / 441.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1232, allocations: 31.84 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1235, allocations: 79.91 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1237, allocations: 59.77 kB / 442 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1238, allocations: 16.27 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.1239, allocations: 15.92 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1239, allocations: 23.86 kB / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.124, allocations: 0 / 442.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1241, allocations: 39.97 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1241, allocations: 11.94 kB / 442.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.1242, allocations: 23.8 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1244, allocations: 83.67 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1244, allocations: 3.938 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1244, allocations: 0 / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1244, allocations: 0 / 442.3 MB, free: 12.15 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.0004907/0.1249, allocations: 391.1 kB / 442.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1249, allocations: 8.031 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.125, allocations: 30.75 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.125, allocations: 8.844 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1252, allocations: 196.1 kB / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1252, allocations: 4.375 kB / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1253, allocations: 384 / 442.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1254, allocations: 57.56 kB / 442.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1255, allocations: 4 kB / 442.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1255, allocations: 0 / 442.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1255, allocations: 0 / 442.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.1256, allocations: 23.98 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.126, allocations: 280.8 kB / 443.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1262, allocations: 50.5 kB / 443.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1263, allocations: 20.94 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1263, allocations: 0 / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1263, allocations: 30.56 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1263, allocations: 0 / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005679/0.1269, allocations: 149.3 kB / 443.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1269, allocations: 55.41 kB / 443.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1271, allocations: 165.8 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1271, allocations: 29.7 kB / 443.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1272, allocations: 96.08 kB / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1272, allocations: 15.73 kB / 443.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1273, allocations: 17.72 kB / 443.9 MB, free: 10.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.1274, allocations: 326.8 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.1274, allocations: 23.98 kB / 444.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.1275, allocations: 19.98 kB / 444.2 MB, free: 9.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1276, allocations: 56.95 kB / 444.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1277, allocations: 4 kB / 444.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1278, allocations: 85.56 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1279, allocations: 4 kB / 444.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1279, allocations: 4 kB / 444.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.1279, allocations: 0 / 444.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.128, allocations: 15.98 kB / 444.4 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.128, allocations: 0 / 444.4 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.128, allocations: 4 kB / 444.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.128, allocations: 3.938 kB / 444.4 MB, free: 9.777 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 8.598e-05/0.1281, allocations: 121.8 kB / 444.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1282, allocations: 15.78 kB / 444.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.1284, allocations: 97.97 kB / 444.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1284, allocations: 0 / 444.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1284, allocations: 0 / 444.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1284, allocations: 3.984 kB / 444.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.1288, allocations: 358.3 kB / 445 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1288, allocations: 4.281 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1289, allocations: 15.98 kB / 445 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1289, allocations: 0 / 445 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1289, allocations: 4 kB / 445 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1289, allocations: 3.938 kB / 445 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1289, allocations: 4.188 kB / 445 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1292, allocations: 183.4 kB / 445.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1292, allocations: 81.11 kB / 445.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1292, allocations: 4 kB / 445.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.1293, allocations: 11.92 kB / 445.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1293, allocations: 7.938 kB / 445.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1293, allocations: 4 kB / 445.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.782e-05/0.1294, allocations: 130.5 kB / 445.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1294, allocations: 4 kB / 445.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1297, allocations: 19.89 kB / 445.4 MB, free: 8.621 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.001303/0.131, allocations: 1.009 MB / 446.5 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1312, allocations: 59.89 kB / 446.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1312, allocations: 0 / 446.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1313, allocations: 27.98 kB / 446.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1316, allocations: 19.92 kB / 446.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1331, allocations: 1.497 MB / 448.1 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1334, allocations: 0.7004 MB / 448.8 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.572e-05/0.1335, allocations: 16.05 kB / 448.8 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1335, allocations: 23.44 kB / 448.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1335, allocations: 0 / 448.8 MB, free: 5.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.1451, allocations: 2.349 MB / 451.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.1453, allocations: 227.9 kB / 451.4 MB, free: 2.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.804, allocations: 4.062 kB / 451.4 MB, free: 2.547 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches