Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008743/0.0008739, allocations: 92.52 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009623/0.0009623, allocations: 204.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.19 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 8.281 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001917/0.1194, allocations: 1.338 MB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.1203, allocations: 0.5301 MB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1204, allocations: 4 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1207, allocations: 67.83 kB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1209, allocations: 87.72 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1212, allocations: 103.8 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.1214, allocations: 75.88 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.1215, allocations: 15.98 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.1215, allocations: 31.8 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1216, allocations: 55.81 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1217, allocations: 4 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.1218, allocations: 39.98 kB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1218, allocations: 27.91 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.1219, allocations: 49.45 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.122, allocations: 104 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.122, allocations: 0 / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1221, allocations: 0 / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1221, allocations: 3.938 kB / 485.7 MB, free: 1.543 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.0004196/0.1225, allocations: 410.9 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1225, allocations: 12.88 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.1226, allocations: 30.75 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1226, allocations: 8.844 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.1228, allocations: 198.7 kB / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1228, allocations: 4.375 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1228, allocations: 4.375 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.123, allocations: 65.59 kB / 486.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.123, allocations: 0 / 486.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.123, allocations: 7.938 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.123, allocations: 4 kB / 486.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1231, allocations: 27.98 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1235, allocations: 308.7 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1236, allocations: 50.5 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.1237, allocations: 24.92 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1237, allocations: 0 / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1238, allocations: 34.56 kB / 486.9 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1238, allocations: 4 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009337/0.1247, allocations: 269.1 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1248, allocations: 55.39 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.125, allocations: 218.7 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.125, allocations: 25.7 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1251, allocations: 116.1 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1251, allocations: 19.72 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1251, allocations: 13.7 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1252, allocations: 330.8 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.1253, allocations: 27.98 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.1254, allocations: 39.97 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1256, allocations: 80.77 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1256, allocations: 4 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.1259, allocations: 121.5 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1259, allocations: 8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1259, allocations: 0 / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1259, allocations: 3.984 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.126, allocations: 16 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.126, allocations: 3.938 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.1261, allocations: 7.984 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1261, allocations: 12 kB / 488.2 MB, free: 14.79 MB / 366.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 8.769e-05/0.1262, allocations: 133.8 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1262, allocations: 11.81 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.1265, allocations: 139 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1266, allocations: 7.984 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1266, allocations: 7.875 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1266, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1271, allocations: 427.7 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1271, allocations: 4.031 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.1272, allocations: 27.86 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1272, allocations: 0 / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1272, allocations: 4 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1272, allocations: 80 / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1272, allocations: 3.984 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1275, allocations: 220.2 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1276, allocations: 92.94 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1276, allocations: 4 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.1277, allocations: 8 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.1277, allocations: 11.92 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1277, allocations: 4 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1279, allocations: 172.7 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1279, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1281, allocations: 19.98 kB / 489.5 MB, free: 13.41 MB / 366.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.001401/0.1295, allocations: 1.096 MB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1298, allocations: 83.88 kB / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1298, allocations: 0 / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1299, allocations: 47.91 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1302, allocations: 23.98 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.1321, allocations: 1.747 MB / 492.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1324, allocations: 0.7121 MB / 493.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.675e-05/0.1325, allocations: 24.95 kB / 493.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.1326, allocations: 35.42 kB / 493.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1326, allocations: 4 kB / 493.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1445, allocations: 2.725 MB / 496 MB, free: 7.055 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.1447, allocations: 239.1 kB / 496.2 MB, free: 6.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.977, allocations: 0 / 496.2 MB, free: 6.793 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches