Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, 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.001098/0.001098, 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.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 74.44 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003052/0.1089, allocations: 1.616 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.1099, allocations: 0.5299 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.1099, allocations: 4 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1102, allocations: 79.7 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1105, allocations: 103.6 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1107, allocations: 87.75 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1109, allocations: 75.83 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.111, allocations: 23.97 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.111, allocations: 39.84 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1111, allocations: 47.83 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1112, allocations: 4 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.1113, allocations: 43.98 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1113, allocations: 27.84 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1114, allocations: 27.75 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1115, allocations: 99.98 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1116, allocations: 0 / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1116, allocations: 4 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1116, allocations: 0 / 482.9 MB, free: 2.367 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.0004637/0.112, allocations: 403 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1121, allocations: 8.031 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.1121, allocations: 42.69 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1122, allocations: 12.75 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1124, allocations: 196.1 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1124, allocations: 384 / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1124, allocations: 8.312 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1126, allocations: 61.61 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1126, allocations: 0 / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1126, allocations: 0 / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1126, allocations: 0 / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.1127, allocations: 35.89 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1131, allocations: 296.7 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1132, allocations: 46.5 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1133, allocations: 16.86 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1133, allocations: 0 / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1133, allocations: 34.64 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1133, allocations: 0 / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008565/0.1142, allocations: 221.1 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1142, allocations: 51.41 kB / 484.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1144, allocations: 211.3 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1144, allocations: 29.64 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1145, allocations: 100.1 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1145, allocations: 39.62 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1146, allocations: 21.7 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1147, allocations: 322.8 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/0.1148, allocations: 28.03 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.1148, allocations: 19.94 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.115, allocations: 60.83 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.115, allocations: 4 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001954/0.1152, allocations: 97.58 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1152, allocations: 10.48 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1152, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1152, allocations: 3.938 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1153, allocations: 19.94 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1154, allocations: 8.234 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.1154, allocations: 4 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1154, allocations: 4 kB / 485.3 MB, free: 15.76 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.593e-05/0.1155, allocations: 129.8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.1155, allocations: 12.23 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1158, allocations: 127 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1158, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1158, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1158, allocations: 3.984 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.1163, allocations: 407.3 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1163, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.1164, allocations: 23.92 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1164, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1164, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1164, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1164, allocations: 4.031 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1167, allocations: 208.1 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.1167, allocations: 88.95 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1167, allocations: 3.938 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1168, allocations: 7.984 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1169, allocations: 8 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1169, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.117, allocations: 155.9 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.117, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1173, allocations: 23.98 kB / 486.5 MB, free: 14.46 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.001347/0.1186, allocations: 1.092 MB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1188, allocations: 67.95 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1188, allocations: 0 / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1189, allocations: 43.89 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1193, allocations: 12 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.121, allocations: 1.63 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1213, allocations: 0.7041 MB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.1214, allocations: 12.61 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.1214, allocations: 35.42 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1215, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.479/1.6, allocations: 2.96 MB / 493 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.66, allocations: 20.3 kB / 493 MB, free: 7.988 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches