Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008225/0.0008226, allocations: 96.33 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008728/0.0008729, allocations: 211.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 46.18 MB / 345.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 63.57 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001842/0.1214, allocations: 1.338 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.1224, allocations: 0.5184 MB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.1224, allocations: 0 / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1227, allocations: 91.8 kB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.123, allocations: 99.7 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1232, allocations: 75.84 kB / 485.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1234, allocations: 79.88 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1235, allocations: 19.98 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.1235, allocations: 31.78 kB / 485.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.1236, allocations: 55.81 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1237, allocations: 0 / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.1237, allocations: 43.98 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.1238, allocations: 15.92 kB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.1239, allocations: 61.38 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.124, allocations: 99.98 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1241, allocations: 4 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1241, allocations: 0 / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1241, allocations: 3.938 kB / 485.7 MB, free: 1.512 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.0004615/0.1245, allocations: 411 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1246, allocations: 12.81 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.1246, allocations: 34.69 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1247, allocations: 12.84 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1249, allocations: 200.5 kB / 486.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1249, allocations: 8.375 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1249, allocations: 4.375 kB / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1251, allocations: 53.61 kB / 486.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1251, allocations: 7.938 kB / 486.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1251, allocations: 4 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1251, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1252, allocations: 31.97 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1256, allocations: 300.7 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1257, allocations: 46.5 kB / 486.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1258, allocations: 20.94 kB / 486.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1258, allocations: 4 kB / 486.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1258, allocations: 34.56 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1258, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009085/0.1267, allocations: 257.2 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.1268, allocations: 59.41 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.127, allocations: 230.6 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.127, allocations: 29.7 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.1271, allocations: 104.1 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1271, allocations: 31.47 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.1272, allocations: 17.7 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1273, allocations: 322.8 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1274, allocations: 35.98 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.1274, allocations: 23.98 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1276, allocations: 72.77 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1276, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002038/0.1278, allocations: 113.6 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1279, allocations: 4 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1279, allocations: 3.938 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1279, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.128, allocations: 19.98 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.128, allocations: 3.938 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.1281, allocations: 16 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1281, allocations: 4.25 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 9.899e-05/0.1282, allocations: 129.8 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1282, allocations: 15.81 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.1285, allocations: 131 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1285, allocations: 0 / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1285, allocations: 3.938 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1285, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.129, allocations: 427.2 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.129, allocations: 0 / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1291, allocations: 23.88 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1291, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1291, allocations: 7.984 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1291, allocations: 4 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1292, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1294, allocations: 212.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1295, allocations: 92.86 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1295, allocations: 0 / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.1296, allocations: 15.98 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1296, allocations: 7.938 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1296, allocations: 4 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1297, allocations: 180.3 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.13, allocations: 20 kB / 489.4 MB, free: 13.43 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.001459/0.1315, allocations: 1.09 MB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1317, allocations: 71.89 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1317, allocations: 4 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.1318, allocations: 48.12 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1322, allocations: 24.06 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1342, allocations: 1.754 MB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1345, allocations: 0.714 MB / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.1345, allocations: 8.672 kB / 493.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.1346, allocations: 47.41 kB / 493.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1346, allocations: 0 / 493.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.148, allocations: 2.74 MB / 495.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.1482, allocations: 244.2 kB / 496.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.959, allocations: 0 / 496.2 MB, free: 6.809 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches