Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 93.22 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.001163/0.001163, allocations: 203.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.391/1.391, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002634, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09828, allocations: 63.57 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001782/0.1001, allocations: 1.446 MB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1016, allocations: 1.002 MB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.1017, allocations: 0 / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1019, allocations: 35.83 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1022, allocations: 83.73 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1024, allocations: 59.88 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1026, allocations: 107.6 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.1027, allocations: 11.98 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.1027, allocations: 39.78 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.1028, allocations: 35.78 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1028, allocations: 0 / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.572e-05/0.1029, allocations: 47.97 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.103, allocations: 27.86 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.1031, allocations: 57.45 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1032, allocations: 111.9 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1032, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1032, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1033, allocations: 0 / 486.2 MB, free: 0.9609 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.0004409/0.1037, allocations: 411 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1037, allocations: 8.875 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.1038, allocations: 30.75 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.1038, allocations: 16.84 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1041, allocations: 219.9 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1041, allocations: 384 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1041, allocations: 7.938 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1042, allocations: 53.67 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1043, allocations: 0 / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1043, allocations: 0 / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1043, allocations: 0 / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.1044, allocations: 23.98 kB / 487 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1047, allocations: 292.9 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1049, allocations: 54.62 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1049, allocations: 24.84 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.105, allocations: 0 / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1051, allocations: 67.39 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1051, allocations: 0 / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004962/0.1056, allocations: 185 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1057, allocations: 51.41 kB / 487.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1059, allocations: 210.8 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1059, allocations: 29.7 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.1059, allocations: 100.1 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.106, allocations: 35.58 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.106, allocations: 17.72 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.1061, allocations: 326.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.1062, allocations: 19.98 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1062, allocations: 37.7 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1063, allocations: 53.72 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1064, allocations: 4 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1065, allocations: 105.4 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1066, allocations: 4 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1066, allocations: 0 / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1066, allocations: 4 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.1067, allocations: 16.36 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1067, allocations: 3.938 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.1067, allocations: 15.88 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1068, allocations: 8 kB / 488.6 MB, free: 14.33 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 9.075e-05/0.1069, allocations: 128.7 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1069, allocations: 11.91 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.1069, allocations: 13.41 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1069, allocations: 0 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1069, allocations: 0 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1069, allocations: 7.922 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.1073, allocations: 403.2 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1074, allocations: 4.031 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1074, allocations: 8 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1074, allocations: 3.938 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1074, allocations: 3.984 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1074, allocations: 4 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1074, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1076, allocations: 208.2 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1077, allocations: 92.92 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1077, allocations: 7.922 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.1078, allocations: 8 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.1078, allocations: 4 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1079, allocations: 7.984 kB / 489.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.108, allocations: 152.3 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.108, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1082, allocations: 27.94 kB / 489.7 MB, free: 13.15 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.001324/0.1096, allocations: 1.093 MB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1097, allocations: 55.92 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1098, allocations: 0 / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.1098, allocations: 31.97 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1102, allocations: 29.7 kB / 490.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1117, allocations: 1.705 MB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.112, allocations: 0.7083 MB / 493.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.112, allocations: 24.84 kB / 493.3 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.1121, allocations: 35.42 kB / 493.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1121, allocations: 3.938 kB / 493.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1244, allocations: 3.055 MB / 496.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.1246, allocations: 239.7 kB / 496.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/1.996, allocations: 0 / 496.7 MB, free: 6.305 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches