Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001096, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 77.22 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002984/0.1084, allocations: 1.602 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1101, allocations: 1.152 MB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.1101, allocations: 0 / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1104, allocations: 19.84 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1107, allocations: 95.55 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1109, allocations: 83.72 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1111, allocations: 67.88 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1112, allocations: 11.98 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.1113, allocations: 27.86 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1114, allocations: 35.78 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1115, allocations: 8 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1116, allocations: 99.94 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.1117, allocations: 11.98 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1117, allocations: 23.75 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.112, allocations: 136 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.112, allocations: 4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.112, allocations: 0 / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.112, allocations: 0 / 483.5 MB, free: 1.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004777/0.1125, allocations: 407.1 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1125, allocations: 8.031 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.1125, allocations: 38.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1126, allocations: 4.844 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1128, allocations: 204.1 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1128, allocations: 384 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1128, allocations: 384 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.113, allocations: 67.34 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.113, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.113, allocations: 3.984 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.113, allocations: 4 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.1131, allocations: 19.98 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1134, allocations: 276.8 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1137, allocations: 38.56 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.1137, allocations: 24.94 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1137, allocations: 0 / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1138, allocations: 30.56 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1138, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005358/0.1143, allocations: 145.2 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1144, allocations: 81.11 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1145, allocations: 156.3 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1145, allocations: 25.7 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.1146, allocations: 96.17 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1146, allocations: 11.72 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1147, allocations: 17.72 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1148, allocations: 326.7 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.1149, allocations: 19.92 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1149, allocations: 37.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1151, allocations: 44.95 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1151, allocations: 8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.1153, allocations: 73.67 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1153, allocations: 8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1153, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1153, allocations: 4.031 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.1154, allocations: 15.92 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1154, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1155, allocations: 15.83 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1155, allocations: 4 kB / 485.7 MB, free: 15.39 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 (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 6.844e-05/0.1155, allocations: 113.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1156, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1158, allocations: 97.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1158, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1158, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1158, allocations: 3.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1162, allocations: 354.5 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1162, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.1163, allocations: 12.27 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1163, allocations: 4 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1163, allocations: 7.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1163, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1163, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1166, allocations: 179.5 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.1166, allocations: 81.16 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1166, allocations: 11.94 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1167, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1167, allocations: 15.92 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1168, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.1168, allocations: 113.3 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1169, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1171, allocations: 35.98 kB / 486.7 MB, free: 14.27 MB / 366.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.001358/0.1185, allocations: 1.091 MB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1187, allocations: 59.89 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1187, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1188, allocations: 23.98 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1191, allocations: 22.58 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1206, allocations: 1.409 MB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1209, allocations: 0.6885 MB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.121, allocations: 16.22 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.121, allocations: 27.42 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.121, allocations: 0 / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/1.205, allocations: 3.132 MB / 493.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/10.7, allocations: 15.2 kB / 493.2 MB, free: 7.883 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches