Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008776/0.0008777, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.7 MB / 246.8 MB, free: 11.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002449/0.000245, allocations: 12 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001853/0.1046, allocations: 1.442 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1067, allocations: 1.577 MB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.1067, allocations: 0 / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.107, allocations: 39.84 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.1072, allocations: 79.73 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1074, allocations: 59.89 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1076, allocations: 107.6 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.1077, allocations: 4 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.1078, allocations: 47.78 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1079, allocations: 39.78 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1079, allocations: 0 / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1081, allocations: 111.9 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.1082, allocations: 15.92 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.1082, allocations: 57.5 kB / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1085, allocations: 167.8 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1085, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1085, allocations: 4 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1085, allocations: 0 / 486.9 MB, free: 288 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000489/0.109, allocations: 411.2 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.109, allocations: 12.88 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.1091, allocations: 34.75 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1091, allocations: 8.844 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1093, allocations: 216.4 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1094, allocations: 3.938 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1094, allocations: 4 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1095, allocations: 63.39 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1095, allocations: 0 / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1096, allocations: 11.94 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1096, allocations: 4 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.1096, allocations: 15.98 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.11, allocations: 292.9 kB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1101, allocations: 62.61 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1102, allocations: 28.84 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1102, allocations: 0 / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.1104, allocations: 63.39 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1104, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004652/0.1108, allocations: 173.1 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1109, allocations: 85.05 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1111, allocations: 162.5 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1111, allocations: 29.7 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1111, allocations: 104.1 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1112, allocations: 23.66 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1112, allocations: 13.72 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1113, allocations: 322.8 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.1114, allocations: 19.98 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.1114, allocations: 42.56 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1116, allocations: 65.67 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1116, allocations: 4 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000179/0.1118, allocations: 97.52 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1118, allocations: 4 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1118, allocations: 160 / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1118, allocations: 4 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.1119, allocations: 23.86 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1119, allocations: 3.984 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.112, allocations: 12.03 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.112, allocations: 4 kB / 489.3 MB, free: 13.64 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 (10): * Single equations (assignments): 10 * 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.537e-05/0.1121, allocations: 117.8 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.1121, allocations: 11.81 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.1121, allocations: 12.72 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1121, allocations: 7.938 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1121, allocations: 0 / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1122, allocations: 0 / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.1126, allocations: 403.3 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1126, allocations: 4.125 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.1126, allocations: 8 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1126, allocations: 7.938 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1126, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1126, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1126, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1129, allocations: 204.3 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1129, allocations: 97.22 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1129, allocations: 8 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.113, allocations: 7.984 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.1131, allocations: 4 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1131, allocations: 4 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1132, allocations: 134.5 kB / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1135, allocations: 44 kB / 490.4 MB, free: 12.48 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 (8): * Single equations (assignments): 6 * 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.001473/0.115, allocations: 1.179 MB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.1151, allocations: 59.92 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1152, allocations: 0 / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.1152, allocations: 23.98 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1155, allocations: 30.38 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1171, allocations: 1.604 MB / 493.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1174, allocations: 0.6976 MB / 493.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.1174, allocations: 29.11 kB / 494 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.1175, allocations: 39.59 kB / 494 MB, free: 8.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1175, allocations: 7.875 kB / 494 MB, free: 8.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.1324, allocations: 3.55 MB / 497.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.1326, allocations: 243.1 kB / 497.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.085, allocations: 0 / 497.8 MB, free: 5.191 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches