Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00098/0.0009796, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002507, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002119/0.1059, allocations: 1.45 MB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1081, allocations: 1.581 MB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.1081, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1084, allocations: 35.84 kB / 486.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1087, allocations: 79.73 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1089, allocations: 59.83 kB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1091, allocations: 107.7 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.1092, allocations: 4 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.1093, allocations: 39.8 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1094, allocations: 51.7 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1094, allocations: 4 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1096, allocations: 99.92 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.1097, allocations: 19.86 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.1097, allocations: 57.5 kB / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.11, allocations: 167.8 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.11, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.11, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.11, allocations: 0 / 486.9 MB, free: 304 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.0005436/0.1105, allocations: 415.2 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1106, allocations: 8.875 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.1106, allocations: 38.75 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1107, allocations: 8.844 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1109, allocations: 212.3 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1109, allocations: 4 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.111, allocations: 3.984 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1111, allocations: 75.38 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1111, allocations: 0 / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1112, allocations: 3.938 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1112, allocations: 4 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.1112, allocations: 19.92 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1116, allocations: 284.9 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1118, allocations: 58.67 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1118, allocations: 20.84 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1119, allocations: 7.984 kB / 488.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.112, allocations: 67.33 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.112, allocations: 0 / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004969/0.1125, allocations: 181.1 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1126, allocations: 89.05 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1127, allocations: 158.5 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1128, allocations: 29.7 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.1128, allocations: 92.14 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1128, allocations: 27.64 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1129, allocations: 17.72 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.113, allocations: 318.8 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.113, allocations: 23.98 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.1131, allocations: 46.56 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1132, allocations: 61.58 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1132, allocations: 0 / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1134, allocations: 105.6 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1134, allocations: 4 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1134, allocations: 0 / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1135, allocations: 4.062 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.1136, allocations: 27.86 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1136, allocations: 0 / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1136, allocations: 4 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1136, allocations: 4 kB / 489.3 MB, free: 13.66 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.802e-05/0.1137, allocations: 121.8 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.1138, allocations: 11.81 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1138, allocations: 12.72 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1138, allocations: 7.938 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1138, allocations: 4 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1138, allocations: 0 / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1142, allocations: 391.3 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1143, allocations: 4.125 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.1143, allocations: 11.98 kB / 489.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.1143, allocations: 3.938 kB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1143, allocations: 11.94 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1143, allocations: 0 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1143, allocations: 4.031 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1146, allocations: 192.3 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.1146, allocations: 100.8 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1147, allocations: 4 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1148, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1148, allocations: 7.984 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1148, allocations: 8 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1149, allocations: 126.5 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1149, allocations: 0 / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1153, allocations: 43.98 kB / 490.3 MB, free: 12.5 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.001622/0.1169, allocations: 1.183 MB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1171, allocations: 55.91 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1171, allocations: 4 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.1172, allocations: 32.05 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.0003312/0.1175, allocations: 27.98 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1191, allocations: 1.604 MB / 493.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1193, allocations: 0.6976 MB / 494 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.1194, allocations: 29.09 kB / 494 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.1195, allocations: 31.61 kB / 494 MB, free: 8.883 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1195, allocations: 7.938 kB / 494 MB, free: 8.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.1346, allocations: 3.554 MB / 497.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1348, allocations: 236.7 kB / 497.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.837, allocations: 0 / 497.8 MB, free: 5.207 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches