Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001003, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 202.3 kB / 18.28 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.267/1.267, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1753/0.1753, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 12 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09794, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001605/0.09958, allocations: 1.454 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1008, allocations: 0.9903 MB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.1009, allocations: 0 / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1011, allocations: 31.84 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1013, allocations: 79.67 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.1014, allocations: 67.81 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1016, allocations: 95.7 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.607e-05/0.1016, allocations: 15.98 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.1017, allocations: 39.78 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.1018, allocations: 31.8 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1018, allocations: 0 / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.1019, allocations: 51.91 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1019, allocations: 11.92 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.102, allocations: 53.52 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1021, allocations: 111.9 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1021, allocations: 4 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1021, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.1022, allocations: 3.938 kB / 486.2 MB, free: 1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003838/0.1025, allocations: 399.2 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1026, allocations: 12.88 kB / 486.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.1026, allocations: 34.69 kB / 486.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1026, allocations: 12.75 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1028, allocations: 212.1 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1028, allocations: 4.375 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1029, allocations: 7.938 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.103, allocations: 53.67 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.103, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.103, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.103, allocations: 4 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.1031, allocations: 23.92 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.1034, allocations: 281 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1035, allocations: 62.66 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.1036, allocations: 16.86 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1036, allocations: 4 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.1037, allocations: 71.31 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.1038, allocations: 4 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004208/0.1042, allocations: 173.1 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1042, allocations: 55.41 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1044, allocations: 185.8 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1044, allocations: 33.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1044, allocations: 104 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1045, allocations: 23.66 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.1045, allocations: 17.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1046, allocations: 326.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.1047, allocations: 20 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.1047, allocations: 37.64 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.1048, allocations: 65.7 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1048, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00016/0.105, allocations: 93.59 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.105, allocations: 12.02 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.105, allocations: 4 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.105, allocations: 384 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1051, allocations: 15.94 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1051, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.1052, allocations: 11.94 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1052, allocations: 7.984 kB / 488.6 MB, free: 14.41 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 7.621e-05/0.1053, allocations: 121.8 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1053, allocations: 7.906 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.1053, allocations: 21.39 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1053, allocations: 4 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1053, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1054, allocations: 3.938 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.1057, allocations: 391.2 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1057, allocations: 4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1058, allocations: 7.984 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1058, allocations: 7.938 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1058, allocations: 4.031 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1058, allocations: 3.938 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1058, allocations: 4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.106, allocations: 200.3 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.106, allocations: 92.91 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1061, allocations: 7.938 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1061, allocations: 8 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1062, allocations: 3.984 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1062, allocations: 7.938 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.894e-05/0.1063, allocations: 137.8 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1063, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1065, allocations: 23.98 kB / 489.6 MB, free: 13.27 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.001211/0.1077, allocations: 1.093 MB / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1079, allocations: 67.89 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1079, allocations: 0 / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.108, allocations: 24 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1083, allocations: 31.91 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1097, allocations: 1.649 MB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1099, allocations: 0.7004 MB / 493.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.1099, allocations: 21.19 kB / 493.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.11, allocations: 35.42 kB / 493.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.11, allocations: 0 / 493.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.671/2.781, allocations: 2.96 MB / 496.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/2.782, allocations: 235.2 kB / 496.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/4.739, allocations: 0 / 496.4 MB, free: 6.586 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches