Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.00159, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 76.47 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09988, allocations: 62.45 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002936/0.1028, allocations: 1.72 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.105, allocations: 1.631 MB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1051, allocations: 7.938 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1054, allocations: 35.77 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1057, allocations: 99.59 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1059, allocations: 83.66 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1061, allocations: 115.6 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1062, allocations: 12 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.1063, allocations: 47.78 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1064, allocations: 47.77 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1065, allocations: 8 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1066, allocations: 107.9 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1067, allocations: 23.92 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1068, allocations: 39.78 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.107, allocations: 179.8 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.107, allocations: 0 / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1071, allocations: 7.938 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1071, allocations: 0 / 484.3 MB, free: 0.9688 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.0005313/0.1076, allocations: 431 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1076, allocations: 12.03 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.1077, allocations: 38.69 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1077, allocations: 8.844 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.108, allocations: 212.1 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.108, allocations: 384 / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.108, allocations: 15.94 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1082, allocations: 75.36 kB / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1082, allocations: 0 / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1082, allocations: 0 / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1082, allocations: 7.938 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.1083, allocations: 23.98 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1087, allocations: 308.6 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1089, allocations: 66.69 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1089, allocations: 28.78 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.109, allocations: 0 / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1092, allocations: 79.38 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1092, allocations: 4 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005594/0.1098, allocations: 193.3 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1098, allocations: 81.11 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.11, allocations: 170.1 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.11, allocations: 29.7 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1101, allocations: 100.1 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1101, allocations: 27.64 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1102, allocations: 21.72 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1103, allocations: 330.8 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.1103, allocations: 23.98 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.1104, allocations: 50.5 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1106, allocations: 73.67 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1106, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.1108, allocations: 121.5 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1108, allocations: 4 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1108, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1108, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.1109, allocations: 23.94 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1109, allocations: 3.984 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.111, allocations: 7.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.111, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.722e-05/0.1111, allocations: 125.8 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1111, allocations: 11.94 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.1112, allocations: 17.17 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1112, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1112, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1112, allocations: 7.938 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1117, allocations: 419.2 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1117, allocations: 4 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1117, allocations: 19.92 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1117, allocations: 7.969 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1118, allocations: 4 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1118, allocations: 0 / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1118, allocations: 0 / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.112, allocations: 212.2 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1121, allocations: 89 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1121, allocations: 7.938 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.1122, allocations: 4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1122, allocations: 11.98 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1122, allocations: 4 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1123, allocations: 127.4 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1124, allocations: 0 / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1127, allocations: 51.92 kB / 487.9 MB, free: 12.97 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001537/0.1142, allocations: 1.193 MB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1144, allocations: 79.89 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1144, allocations: 0 / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.1145, allocations: 35.92 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1148, allocations: 23.98 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1165, allocations: 1.65 MB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1167, allocations: 0.6967 MB / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.1168, allocations: 28.56 kB / 491.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1169, allocations: 39.42 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1169, allocations: 0 / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1402, allocations: 4.093 MB / 495.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.879, allocations: 18.83 kB / 495.8 MB, free: 5.238 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches