Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, 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.2339/0.2339, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 77.81 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002863/0.1054, allocations: 1.588 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.107, allocations: 1.163 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.1071, allocations: 4 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1073, allocations: 23.84 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1076, allocations: 91.61 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1079, allocations: 115.2 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1081, allocations: 63.84 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.1082, allocations: 15.98 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.1082, allocations: 27.86 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1084, allocations: 35.84 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1084, allocations: 7.938 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1086, allocations: 91.88 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1086, allocations: 15.97 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1087, allocations: 27.81 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1089, allocations: 132 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1089, allocations: 0 / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1089, allocations: 4 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.109, allocations: 0 / 483.5 MB, free: 1.781 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.0004866/0.1094, allocations: 415 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1095, allocations: 8.031 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.1095, allocations: 30.75 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1096, allocations: 8.844 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1098, allocations: 195 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.1098, allocations: 4.375 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1098, allocations: 4.375 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.11, allocations: 71.33 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.11, allocations: 0 / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.11, allocations: 4 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.11, allocations: 3.938 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1101, allocations: 27.97 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1105, allocations: 276.9 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1107, allocations: 46.56 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1107, allocations: 28.86 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1108, allocations: 0 / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1108, allocations: 30.56 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1108, allocations: 0 / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005428/0.1113, allocations: 161.2 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1114, allocations: 77.11 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1115, allocations: 141.8 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1116, allocations: 25.7 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1116, allocations: 100.1 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.1116, allocations: 15.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1117, allocations: 21.72 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1118, allocations: 322.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/0.1119, allocations: 19.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.112, allocations: 41.69 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1121, allocations: 48.83 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1121, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.1123, allocations: 89.62 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1124, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1124, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1124, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.1124, allocations: 19.94 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1125, allocations: 3.984 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1125, allocations: 12.09 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.1125, allocations: 0 / 485.7 MB, free: 15.32 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 8.558e-05/0.1126, allocations: 117.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.1127, allocations: 8 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1129, allocations: 109.7 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1129, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1129, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1129, allocations: 3.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.1134, allocations: 358.5 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1134, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.1135, allocations: 19.92 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1135, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1135, allocations: 3.938 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1135, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1135, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1138, allocations: 179.4 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.1138, allocations: 81.11 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1138, allocations: 3.938 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.1139, allocations: 11.98 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.114, allocations: 0 / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.114, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.456e-05/0.1141, allocations: 121.4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1141, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1144, allocations: 43.98 kB / 486.8 MB, free: 14.16 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.001418/0.1158, allocations: 1.088 MB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.116, allocations: 59.89 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.116, allocations: 11.88 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.1161, allocations: 23.98 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1164, allocations: 18.95 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.118, allocations: 1.436 MB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1182, allocations: 0.6924 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.555e-05/0.1183, allocations: 24.14 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.1184, allocations: 27.42 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1184, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5897/0.7081, allocations: 3.15 MB / 493.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.911/9.619, allocations: 16.03 kB / 493.3 MB, free: 7.715 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches