Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.94 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 72.17 kB / 0.497 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.296, allocations: 66.09 MB / 0.5615 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003278/0.2992, allocations: 1.92 MB / 0.5634 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3012, allocations: 1.131 MB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.3013, allocations: 7.938 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006474/0.3019, allocations: 199.4 kB / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.3024, allocations: 211.2 kB / 0.5649 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.3028, allocations: 163 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.3031, allocations: 275.2 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.3032, allocations: 8.594 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3034, allocations: 119.5 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3036, allocations: 123.4 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3036, allocations: 12 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3038, allocations: 63.95 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.3039, allocations: 51.83 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.304, allocations: 75.48 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.3043, allocations: 245.1 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3043, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3043, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3043, allocations: 3.938 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008625/0.3052, allocations: 0.4983 MB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3052, allocations: 12.03 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.207e-05/0.3053, allocations: 192 / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.3053, allocations: 42.73 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.3054, allocations: 20.8 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.3057, allocations: 230.6 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3057, allocations: 4.375 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3058, allocations: 8.375 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.306, allocations: 141.7 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.306, allocations: 0 / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.306, allocations: 3.984 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3061, allocations: 4 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3062, allocations: 43.97 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.3067, allocations: 344.6 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.307, allocations: 117.3 kB / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3071, allocations: 49.64 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3072, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.3074, allocations: 113.1 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.3074, allocations: 0 / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004908/0.3079, allocations: 193.4 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.308, allocations: 106.8 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.3084, allocations: 364.5 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3084, allocations: 25.7 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3085, allocations: 140.1 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3086, allocations: 35.73 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.3086, allocations: 29.72 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3088, allocations: 342.7 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.3089, allocations: 31.98 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3091, allocations: 136.5 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3092, allocations: 103.4 kB / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3093, allocations: 0 / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003061/0.3096, allocations: 150.1 kB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3096, allocations: 7.984 kB / 0.5691 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3096, allocations: 8 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3096, allocations: 0 / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3097, allocations: 24 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3097, allocations: 7.984 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.851e-05/0.3098, allocations: 15.83 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3098, allocations: 8 kB / 0.5692 GB, free: 11.95 MB / 414.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001656/0.31, allocations: 151.1 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.31, allocations: 27.81 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.3104, allocations: 187.4 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3104, allocations: 0 / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3104, allocations: 4 kB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3104, allocations: 4 kB / 0.5695 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3107, allocations: 220.6 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3107, allocations: 0 / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.3107, allocations: 11.94 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3107, allocations: 0 / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3107, allocations: 7.984 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3107, allocations: 0 / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3107, allocations: 0 / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.3111, allocations: 209.7 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.3111, allocations: 23.8 kB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3112, allocations: 12 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.3113, allocations: 11.97 kB / 0.57 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.3113, allocations: 11.98 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3113, allocations: 4 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.3116, allocations: 271 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3116, allocations: 0 / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3119, allocations: 39.92 kB / 0.5703 GB, free: 10.69 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002106/0.314, allocations: 1.057 MB / 0.5714 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3143, allocations: 103.9 kB / 0.5715 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3143, allocations: 0 / 0.5715 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3144, allocations: 55.89 kB / 0.5715 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3148, allocations: 68.52 kB / 0.5716 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.318, allocations: 2.365 MB / 0.5739 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3181, allocations: 144.9 kB / 0.574 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3183, allocations: 34.08 kB / 0.5741 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3184, allocations: 75.41 kB / 0.5741 GB, free: 6.793 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3184, allocations: 0 / 0.5741 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3465, allocations: 6.375 MB / 0.5804 GB, free: 480 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.3, allocations: 9.859 kB / 0.5804 GB, free: 476 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.238630439038388]