Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001117, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.7 MB / 246.8 MB, free: 11.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1814/0.1814, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002359, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09936, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001965/0.1014, allocations: 1.544 MB / 484.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1035, allocations: 1.643 MB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.1036, allocations: 0 / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1039, allocations: 59.75 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1042, allocations: 107.6 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1044, allocations: 87.84 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1046, allocations: 195.4 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.1047, allocations: 9.688 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1048, allocations: 79.56 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.105, allocations: 87.53 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.105, allocations: 4 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1052, allocations: 104 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.1053, allocations: 39.77 kB / 487.1 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.1054, allocations: 85.42 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.1056, allocations: 215.5 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1057, allocations: 0 / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1057, allocations: 3.938 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1057, allocations: 0 / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005982/0.1063, allocations: 474.7 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1063, allocations: 16.88 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.1064, allocations: 34.69 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1064, allocations: 16.75 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1067, allocations: 260.8 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1067, allocations: 8.375 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1067, allocations: 11.88 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1069, allocations: 101.1 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.107, allocations: 0 / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.107, allocations: 8 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.107, allocations: 0 / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.1071, allocations: 31.91 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1073, allocations: 218.5 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1076, allocations: 109.2 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.1077, allocations: 41.64 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1077, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1079, allocations: 105.1 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1079, allocations: 0 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004141/0.1084, allocations: 169.4 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1084, allocations: 128.5 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1087, allocations: 237.6 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1087, allocations: 33.64 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.1088, allocations: 120.1 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1088, allocations: 31.55 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1089, allocations: 21.7 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.109, allocations: 326.8 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.1091, allocations: 27.98 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1092, allocations: 69.12 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1093, allocations: 91.39 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1094, allocations: 3.938 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002491/0.1096, allocations: 137.9 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1096, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1096, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1097, allocations: 4.062 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1098, allocations: 31.98 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1098, allocations: 0 / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.1099, allocations: 11.91 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1099, allocations: 8 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.0001041/0.11, allocations: 138.2 kB / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.11, allocations: 19.81 kB / 490.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1101, allocations: 20.98 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1101, allocations: 8 kB / 490.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1101, allocations: 0 / 490.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1101, allocations: 0 / 490.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1103, allocations: 221.5 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1103, allocations: 4 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.1103, allocations: 11.92 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1104, allocations: 4 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1104, allocations: 4 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1104, allocations: 0 / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1104, allocations: 0 / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1107, allocations: 177.5 kB / 490.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1107, allocations: 104.9 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1108, allocations: 8 kB / 491 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1109, allocations: 7.984 kB / 491 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1109, allocations: 4 kB / 491 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1109, allocations: 7.984 kB / 491 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1111, allocations: 184.5 kB / 491.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1111, allocations: 0 / 491.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1114, allocations: 55.98 kB / 491.2 MB, free: 11.57 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001494/0.1129, allocations: 1.095 MB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1131, allocations: 87.84 kB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1131, allocations: 0 / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.1132, allocations: 31.98 kB / 492.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1136, allocations: 56.56 kB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1156, allocations: 1.907 MB / 494.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1159, allocations: 0.7245 MB / 495.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.561e-05/0.116, allocations: 29.53 kB / 495.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.1161, allocations: 59.39 kB / 495.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1161, allocations: 0 / 495.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.1381, allocations: 4.772 MB / 500 MB, free: 2.953 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1383, allocations: 249.3 kB / 0.4885 GB, free: 2.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/1.895, allocations: 0 / 0.4885 GB, free: 2.691 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches